redfish_codegen/models/drive/v1_17_0/
encryption_ability.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum EncryptionAbility {
6    /// The drive is not capable of self-encryption.
7    None,
8    /// The drive is capable of self-encryption per the Trusted Computing Group's Self Encrypting Drive Standard.
9    SelfEncryptingDrive,
10    /// The drive is capable of self-encryption through some other means.
11    Other,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for EncryptionAbility {
16     fn default() -> EncryptionAbility {
17        EncryptionAbility::None
18     }
19}
20
21impl crate::Metadata<'static> for EncryptionAbility {
22    const JSON_SCHEMA: &'static str = "Drive.v1_17_0.json";
23}