Enum imap::types::NameAttribute
source · Expand description
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
sourceimpl<'a> Clone for NameAttribute<'a>
impl<'a> Clone for NameAttribute<'a>
sourcefn clone(&self) -> NameAttribute<'a>
fn clone(&self) -> NameAttribute<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for NameAttribute<'a>
impl<'a> Debug for NameAttribute<'a>
sourceimpl<'a> From<&'a str> for NameAttribute<'a>
impl<'a> From<&'a str> for NameAttribute<'a>
sourceimpl<'a> From<String> for NameAttribute<'a>
impl<'a> From<String> for NameAttribute<'a>
sourceimpl<'a> Hash for NameAttribute<'a>
impl<'a> Hash for NameAttribute<'a>
sourceimpl<'a> PartialEq<NameAttribute<'a>> for NameAttribute<'a>
impl<'a> PartialEq<NameAttribute<'a>> for NameAttribute<'a>
sourcefn eq(&self, other: &NameAttribute<'a>) -> bool
fn eq(&self, other: &NameAttribute<'a>) -> bool
impl<'a> Eq for NameAttribute<'a>
impl<'a> StructuralEq for NameAttribute<'a>
impl<'a> StructuralPartialEq for NameAttribute<'a>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more