redfish_codegen/models/event_service/v1_10_0/
smtp_connection_protocol.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SMTPConnectionProtocol {
6    /// This value shall indicate the connection is in clear text.
7    None,
8    /// This value shall indicate the connection is auto-detected.
9    AutoDetect,
10    /// This value shall indicate the connection conforms to the RFC3207-defined StartTLS extension.
11    StartTLS,
12    /// This value shall indicate the connection is TLS/SSL.
13    #[serde(rename = "TLS_SSL")]
14    TLSSSL,
15}
16
17#[allow(clippy::derivable_impls)]
18impl Default for SMTPConnectionProtocol {
19     fn default() -> SMTPConnectionProtocol {
20        SMTPConnectionProtocol::None
21     }
22}
23
24impl crate::Metadata<'static> for SMTPConnectionProtocol {
25    const JSON_SCHEMA: &'static str = "EventService.v1_10_0.json";
26}