redfish_codegen/models/storage_replica_info/v1_4_0/consistency_state.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4/// The values of ConsistencyState indicate the consistency type used by the source and its associated target group.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6pub enum ConsistencyState {
7 /// This enumeration literal shall indicate that the source and target shall be consistent.
8 Consistent,
9 /// This enumeration literal shall indicate that the source and target are not required to be consistent.
10 Inconsistent,
11}
12
13#[allow(clippy::derivable_impls)]
14impl Default for ConsistencyState {
15 fn default() -> ConsistencyState {
16 ConsistencyState::Consistent
17 }
18}
19
20impl crate::Metadata<'static> for ConsistencyState {
21 const JSON_SCHEMA: &'static str = "StorageReplicaInfo.v1_4_0.json";
22}