redfish_codegen/models/memory/v1_17_1/
memory_classification.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum MemoryClassification {
6    /// Volatile memory.
7    Volatile,
8    /// Byte-accessible persistent memory.
9    ByteAccessiblePersistent,
10    /// Block-accessible memory.
11    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}