// Generated by redfish-codegen. Do not modify.
/// The type of rack unit in use.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum RackUnits {
/// Rack units shall be specified in terms of the Open Compute Open Rack Specification.
OpenU,
/// Rack units shall conform to the EIA-310 standard.
#[serde(rename = "EIA_310")]
EIA310,
}
#[allow(clippy::derivable_impls)]
impl Default for RackUnits {
fn default() -> RackUnits {
RackUnits::OpenU
}
}
impl crate::Metadata<'static> for RackUnits {
const JSON_SCHEMA: &'static str = "Resource.v1_12_3.json";
}