redfish_codegen/models/computer_system/v1_20_1/kmip_cache_policy.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum KMIPCachePolicy {
6 /// The system does not cache KMIP data.
7 None,
8 /// The system caches KMIP data after first use for the duration specified by the CacheDuration property.
9 AfterFirstUse,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for KMIPCachePolicy {
14 fn default() -> KMIPCachePolicy {
15 KMIPCachePolicy::None
16 }
17}
18
19impl crate::Metadata<'static> for KMIPCachePolicy {
20 const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
21}