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 ConnectedVia {
    /// No current connection.
    NotConnected,
    /// Connected to a URI location.
    URI,
    /// Connected to a client application.
    Applet,
    /// Connected through an OEM-defined method.
    Oem,
}

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

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