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 LLDPSystemCapabilities {
    /// This value shall indicate the system capabilities are transmitted, but no capabilities are set.
    None,
    /// This value shall indicate the IEEE802.1AB-defined 'bridge' capability.
    Bridge,
    /// This value shall indicate the IEEE802.1AB-defined 'DOCSIS cable device' capability.
    DOCSISCableDevice,
    /// This value shall indicate the IEEE802.1AB-defined 'other' capability.
    Other,
    /// This value shall indicate the IEEE802.1AB-defined 'repeater' capability.
    Repeater,
    /// This value shall indicate the IEEE802.1AB-defined 'router' capability.
    Router,
    /// This value shall indicate the IEEE802.1AB-defined 'station' capability.
    Station,
    /// This value shall indicate the IEEE802.1AB-defined 'telephone' capability.
    Telephone,
    /// This value shall indicate the IEEE802.1AB-defined 'WLAN access point' capability.
    WLANAccessPoint,
}

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

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