#[derive(Clone, Copy, Default, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
#[cfg_attr(
    feature = "serde",
    derive(serde::Serialize, serde::Deserialize),
    serde(transparent)
)]
pub struct SecurityCapabilities {
    value: u64,
}

impl SecurityCapabilities {
    pub const fn from_bits(value: u64) -> Self {
        SecurityCapabilities { value }
    }

    pub fn bits(self) -> u64 {
        self.value
    }
}
