[][src]Enum imap::types::NameAttribute

pub enum NameAttribute<'a> {
    NoInferiors,
    NoSelect,
    Marked,
    Unmarked,
    Custom(Cow<'a, str>),
}

An attribute set for an IMAP name.

Variants

It is not possible for any child levels of hierarchy to exist under this name; no child levels exist now and none can be created in the future.

It is not possible to use this name as a selectable mailbox.

The mailbox has been marked "interesting" by the server; the mailbox probably contains messages that have been added since the last time the mailbox was selected.

The mailbox does not contain any additional messages since the last time the mailbox was selected.

A non-standard user- or server-defined name attribute.

Trait Implementations

impl<'a> PartialEq<NameAttribute<'a>> for NameAttribute<'a>
[src]

impl<'a> From<String> for NameAttribute<'a>
[src]

impl<'a> From<&'a str> for NameAttribute<'a>
[src]

impl<'a> Eq for NameAttribute<'a>
[src]

impl<'a> Clone for NameAttribute<'a>
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for NameAttribute<'a>
[src]

impl<'a> Hash for NameAttribute<'a>
[src]

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

Auto Trait Implementations

impl<'a> Send for NameAttribute<'a>

impl<'a> Sync for NameAttribute<'a>

Blanket Implementations

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

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[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]