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 FlowControl {
    /// No flow control imposed.
    None,
    /// XON/XOFF in-band flow control imposed.
    Software,
    /// Out-of-band flow control imposed.
    Hardware,
}

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

impl crate::Metadata<'static> for FlowControl {
    const JSON_SCHEMA: &'static str = "SerialInterface.v1_1_8.json";
}