pub struct SMTP {
pub authentication: Option<SMTPAuthenticationMethods>,
pub connection_protocol: Option<SMTPConnectionProtocol>,
pub from_address: Option<String>,
pub password: Option<String>,
pub password_set: Option<bool>,
pub port: Option<i64>,
pub server_address: Option<String>,
pub service_enabled: Option<bool>,
pub username: Option<String>,
}
Expand description
Settings for SMTP event delivery.
Fields§
§authentication: Option<SMTPAuthenticationMethods>
§connection_protocol: Option<SMTPConnectionProtocol>
§from_address: Option<String>
The ‘from’ email address of the outgoing email.
password: Option<String>
The password for authentication with the SMTP server. The value is null
in responses.
password_set: Option<bool>
Indicates if the Password property is set.
port: Option<i64>
The destination SMTP port.
server_address: Option<String>
The address of the SMTP server.
service_enabled: Option<bool>
An indication if SMTP for event delivery is enabled.
username: Option<String>
The username for authentication with the SMTP server.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SMTP
impl<'de> Deserialize<'de> for SMTP
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for SMTP
impl Metadata<'static> for SMTP
Source§const JSON_SCHEMA: &'static str = "EventService.v1_10_0.json"
const JSON_SCHEMA: &'static str = "EventService.v1_10_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SMTP
impl RefUnwindSafe for SMTP
impl Send for SMTP
impl Sync for SMTP
impl Unpin for SMTP
impl UnwindSafe for SMTP
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more