redfish_codegen/models/volume/encryption_types.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum EncryptionTypes {
6 /// The volume is utilizing the native drive encryption capabilities of the drive hardware.
7 NativeDriveEncryption,
8 /// The volume is being encrypted by the storage controller entity.
9 ControllerAssisted,
10 /// The volume is being encrypted by software running on the system or the operating system.
11 SoftwareAssisted,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for EncryptionTypes {
16 fn default() -> EncryptionTypes {
17 EncryptionTypes::NativeDriveEncryption
18 }
19}
20
21impl crate::Metadata<'static> for EncryptionTypes {
22 const JSON_SCHEMA: &'static str = "Volume.json";
23}