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 SNMPEncryptionProtocols {
    /// This value shall indicate there is no encryption.
    None,
    /// This value shall indicate encryption conforms to the RFC3414-defined CBC-DES encryption protocol.
    #[serde(rename = "CBC_DES")]
    CBCDES,
    /// This value shall indicate encryption conforms to the RFC3414-defined CFB128-AES-128 encryption protocol.
    #[serde(rename = "CFB128_AES128")]
    CFB128AES128,
}

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

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