[][src]Struct emmett::inputs::Imap

pub struct Imap {
    pub check_interval: Option<u64>,
    pub content_type: Option<String>,
    pub delete: Option<bool>,
    pub expunge: Option<bool>,
    pub fetch_count: Option<u64>,
    pub folder: Option<String>,
    pub host: String,
    pub lowercase_headers: Option<bool>,
    pub password: Option<String>,
    pub port: Option<u64>,
    pub secure: Option<bool>,
    pub strip_attachment: Option<bool>,
    pub user: String,
    pub verify_cert: Option<bool>,
}

Read mails from IMAP server. Periodically scan an IMAP folder (INBOX by default) and move any read messages to the trash.

Fields

check_interval: Option<u64>content_type: Option<String>delete: Option<bool>expunge: Option<bool>fetch_count: Option<u64>folder: Option<String>host: Stringlowercase_headers: Option<bool>password: Option<String>port: Option<u64>secure: Option<bool>strip_attachment: Option<bool>user: Stringverify_cert: Option<bool>

Auto Trait Implementations

impl Send for Imap

impl Unpin for Imap

impl Sync for Imap

impl UnwindSafe for Imap

impl RefUnwindSafe for Imap

Blanket Implementations

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

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

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.

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self