redfish_codegen/models/computer_system/v1_20_1/memory_mirroring.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum MemoryMirroring {
6 /// The system supports DIMM mirroring at the system level. Individual DIMMs are not paired for mirroring in this mode.
7 System,
8 /// The system supports DIMM mirroring at the DIMM level. Individual DIMMs can be mirrored.
9 DIMM,
10 /// The system supports a hybrid mirroring at the system and DIMM levels. Individual DIMMs can be mirrored.
11 Hybrid,
12 /// The system does not support DIMM mirroring.
13 None,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for MemoryMirroring {
18 fn default() -> MemoryMirroring {
19 MemoryMirroring::System
20 }
21}
22
23impl crate::Metadata<'static> for MemoryMirroring {
24 const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
25}