Struct google_gmail1::api::SmtpMsa[][src]

pub struct SmtpMsa {
    pub host: Option<String>,
    pub password: Option<String>,
    pub port: Option<i32>,
    pub security_mode: Option<String>,
    pub username: Option<String>,
}

Configuration for communication with an SMTP service.

This type is not used in any activity, and only used as part of another schema.

Fields

host: Option<String>

The hostname of the SMTP service. Required.

password: Option<String>

The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

port: Option<i32>

The port of the SMTP service. Required.

security_mode: Option<String>

The protocol that will be used to secure communication with the SMTP service. Required.

username: Option<String>

The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

Trait Implementations

impl Clone for SmtpMsa[src]

impl Debug for SmtpMsa[src]

impl Default for SmtpMsa[src]

impl<'de> Deserialize<'de> for SmtpMsa[src]

impl Part for SmtpMsa[src]

impl Serialize for SmtpMsa[src]

Auto Trait Implementations

impl RefUnwindSafe for SmtpMsa

impl Send for SmtpMsa

impl Sync for SmtpMsa

impl Unpin for SmtpMsa

impl UnwindSafe for SmtpMsa

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.