// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum EncryptionAbility {
/// The drive is not capable of self-encryption.
None,
/// The drive is capable of self-encryption per the Trusted Computing Group's Self Encrypting Drive Standard.
SelfEncryptingDrive,
/// The drive is capable of self-encryption through some other means.
Other,
}
#[allow(clippy::derivable_impls)]
impl Default for EncryptionAbility {
fn default() -> EncryptionAbility {
EncryptionAbility::None
}
}
impl crate::Metadata<'static> for EncryptionAbility {
const JSON_SCHEMA: &'static str = "Drive.v1_17_0.json";
}