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 EventSeverity {
    /// Informational or operating normally.
    OK,
    /// A condition that requires attention.
    Warning,
    /// A critical condition that requires immediate attention.
    Critical,
}

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

impl crate::Metadata<'static> for EventSeverity {
    const JSON_SCHEMA: &'static str = "LogEntry.v1_14_0.json";
}