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 SMTPConnectionProtocol {
    /// This value shall indicate the connection is in clear text.
    None,
    /// This value shall indicate the connection is auto-detected.
    AutoDetect,
    /// This value shall indicate the connection conforms to the RFC3207-defined StartTLS extension.
    StartTLS,
    /// This value shall indicate the connection is TLS/SSL.
    #[serde(rename = "TLS_SSL")]
    TLSSSL,
}

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

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