#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum RedundancyMode {
Failover,
#[serde(rename = "N+m")]
N,
Sharing,
Sparing,
NotRedundant,
}
#[allow(clippy::derivable_impls)]
impl Default for RedundancyMode {
fn default() -> RedundancyMode {
RedundancyMode::Failover
}
}
impl crate::Metadata<'static> for RedundancyMode {
const JSON_SCHEMA: &'static str = "Redundancy.v1_4_1.json";
}