redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum KMIPCachePolicy {
    /// The system does not cache KMIP data.
    None,
    /// The system caches KMIP data after first use for the duration specified by the CacheDuration property.
    AfterFirstUse,
}

#[allow(clippy::derivable_impls)]
impl Default for KMIPCachePolicy {
     fn default() -> KMIPCachePolicy {
        KMIPCachePolicy::None
     }
}

impl crate::Metadata<'static> for KMIPCachePolicy {
    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_0.json";
}