// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum MemoryClassification {
/// Volatile memory.
Volatile,
/// Byte-accessible persistent memory.
ByteAccessiblePersistent,
/// Block-accessible memory.
Block,
}
#[allow(clippy::derivable_impls)]
impl Default for MemoryClassification {
fn default() -> MemoryClassification {
MemoryClassification::Volatile
}
}
impl crate::Metadata<'static> for MemoryClassification {
const JSON_SCHEMA: &'static str = "Memory.v1_17_0.json";
}