redfish_codegen/models/storage_replica_info/v1_4_0/consistency_status.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4/// The values of ConsistencyStatus indicate the current status of consistency. Consistency may have been disabled or might be experiencing an error condition.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6pub enum ConsistencyStatus {
7 /// This enumeration literal shall indicate that the source and target are consistent.
8 Consistent,
9 /// This enumeration literal shall indicate that the source and target are becoming consistent.
10 InProgress,
11 /// This enumeration literal shall indicate that the source and target have consistency disabled.
12 Disabled,
13 /// This enumeration literal shall indicate that the source and target are not consistent.
14 InError,
15}
16
17#[allow(clippy::derivable_impls)]
18impl Default for ConsistencyStatus {
19 fn default() -> ConsistencyStatus {
20 ConsistencyStatus::Consistent
21 }
22}
23
24impl crate::Metadata<'static> for ConsistencyStatus {
25 const JSON_SCHEMA: &'static str = "StorageReplicaInfo.v1_4_0.json";
26}