[][src]Struct mail_test_account::ImapInfo

pub struct ImapInfo {
    pub host: String,
    pub port: u16,
    pub use_tls_directly: bool,
}

Info needed for connecting with a IMAP server which contains all mails "send" through the test account.

Fields

host: String

The host/domain name.

port: u16

The port to connect to.

use_tls_directly: bool

Indicates if directly a TLS connection should be opend or a non-TLS connection followed by STARTTLS.

Trait Implementations

impl Debug for ImapInfo[src]

impl Serialize for ImapInfo[src]

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

Auto Trait Implementations

impl Send for ImapInfo

impl Sync for ImapInfo

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T