redfish_codegen/models/storage_replica_info/v1_4_0/
replica_read_only_access.rs1#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6pub enum ReplicaReadOnlyAccess {
7 SourceElement,
9 ReplicaElement,
11 Both,
13}
14
15#[allow(clippy::derivable_impls)]
16impl Default for ReplicaReadOnlyAccess {
17 fn default() -> ReplicaReadOnlyAccess {
18 ReplicaReadOnlyAccess::SourceElement
19 }
20}
21
22impl crate::Metadata<'static> for ReplicaReadOnlyAccess {
23 const JSON_SCHEMA: &'static str = "StorageReplicaInfo.v1_4_0.json";
24}