redfish_codegen/models/key_policy/v1_0_0/key_policy_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum KeyPolicyType {
6 /// This value shall indicate the key policy is for an NVMe-oF key.
7 NVMeoF,
8}
9
10#[allow(clippy::derivable_impls)]
11impl Default for KeyPolicyType {
12 fn default() -> KeyPolicyType {
13 KeyPolicyType::NVMeoF
14 }
15}
16
17impl crate::Metadata<'static> for KeyPolicyType {
18 const JSON_SCHEMA: &'static str = "KeyPolicy.v1_0_0.json";
19}