redfish_codegen/models/power_supply/v1_5_1/line_status.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum LineStatus {
6 /// Line input is within normal operating range.
7 Normal,
8 /// No power detected at line input.
9 LossOfInput,
10 /// Line input voltage or current is outside of normal operating range.
11 OutOfRange,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for LineStatus {
16 fn default() -> LineStatus {
17 LineStatus::Normal
18 }
19}
20
21impl crate::Metadata<'static> for LineStatus {
22 const JSON_SCHEMA: &'static str = "PowerSupply.v1_5_1.json";
23}