redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum LineStatus {
    /// Line input is within normal operating range.
    Normal,
    /// No power detected at line input.
    LossOfInput,
    /// Line input voltage or current is outside of normal operating range.
    OutOfRange,
}

#[allow(clippy::derivable_impls)]
impl Default for LineStatus {
     fn default() -> LineStatus {
        LineStatus::Normal
     }
}

impl crate::Metadata<'static> for LineStatus {
    const JSON_SCHEMA: &'static str = "PowerSupply.v1_5_0.json";
}