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 PhysicalSubContext {
    /// The input.
    Input,
    /// The output.
    Output,
}

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

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