redfish_codegen/models/chassis/v1_23_0/thermal_direction.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ThermalDirection {
6 /// This value shall indicate a chassis with the air intake generally from the front of the chassis and the air exhaust out the back of the chassis.
7 FrontToBack,
8 /// This value shall indicate a chassis with the air intake generally from the back of the chassis and the air exhaust out the front of the chassis.
9 #[serde(rename = "BackToFront")]
10 BackToF,
11 /// This value shall indicate a chassis with the air exhaust out the top of the chassis.
12 TopExhaust,
13 /// This value shall indicate a sealed chassis with no air pathway through the chassis.
14 Sealed,
15}
16
17#[allow(clippy::derivable_impls)]
18impl Default for ThermalDirection {
19 fn default() -> ThermalDirection {
20 ThermalDirection::FrontToBack
21 }
22}
23
24impl crate::Metadata<'static> for ThermalDirection {
25 const JSON_SCHEMA: &'static str = "Chassis.v1_23_0.json";
26}