redfish_codegen/models/memory/v1_17_1/
memory_classification.rs1#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum MemoryClassification {
6 Volatile,
8 ByteAccessiblePersistent,
10 Block,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for MemoryClassification {
16 fn default() -> MemoryClassification {
17 MemoryClassification::Volatile
18 }
19}
20
21impl crate::Metadata<'static> for MemoryClassification {
22 const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json";
23}