[][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

NoInferiors

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.

NoSelect

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

Marked

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.

Unmarked

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

Custom(Cow<'a, str>)

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

Trait Implementations

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for NameAttribute<'a>

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

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

impl<'a> Unpin for NameAttribute<'a>

impl<'a> UnwindSafe for NameAttribute<'a>

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> From<T> 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.