[][src]Struct imap::types::Mailbox

pub struct Mailbox {
    pub flags: Vec<Flag<'static>>,
    pub exists: u32,
    pub recent: u32,
    pub unseen: Option<u32>,
    pub permanent_flags: Vec<Flag<'static>>,
    pub uid_next: Option<Uid>,
    pub uid_validity: Option<u32>,
}

Meta-information about an IMAP mailbox, as returned by SELECT and friends.

Fields

Defined flags in the mailbox. See the description of the FLAGS response for more detail.

The number of messages in the mailbox. See the description of the EXISTS response for more detail.

The number of messages with the \Recent flag set. See the description of the RECENT response for more detail.

The message sequence number of the first unseen message in the mailbox. If this is missing, the client can not make any assumptions about the first unseen message in the mailbox, and needs to issue a SEARCH command if it wants to find it.

A list of message flags that the client can change permanently. If this is missing, the client should assume that all flags can be changed permanently. If the client attempts to STORE a flag that is not in this list list, the server will either ignore the change or store the state change for the remainder of the current session only.

The next unique identifier value. If this is missing, the client can not make any assumptions about the next unique identifier value.

The unique identifier validity value. See Uid for more details. If this is missing, the server does not support unique identifiers.

Trait Implementations

impl Clone for Mailbox
[src]

Performs copy-assignment from source. Read more

impl Eq for Mailbox
[src]

impl Default for Mailbox
[src]

impl PartialEq<Mailbox> for Mailbox
[src]

impl Debug for Mailbox
[src]

impl Display for Mailbox
[src]

impl Hash for Mailbox
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Mailbox

impl Sync for Mailbox

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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