Enum imap_types::response::data::StatusAttributeValue
source · [−]pub enum StatusAttributeValue {
Messages(u32),
Recent(u32),
UidNext(NonZeroU32),
UidValidity(NonZeroU32),
Unseen(u32),
}Expand description
The currently defined status data items.
Variants
Messages(u32)
The number of messages in the mailbox.
Recent(u32)
The number of messages with the \Recent flag set.
UidNext(NonZeroU32)
The next unique identifier value of the mailbox. Refer to section 2.3.1.1 for more information.
UidValidity(NonZeroU32)
The unique identifier validity value of the mailbox. Refer to section 2.3.1.1 for more information.
Unseen(u32)
The number of messages which do not have the \Seen flag set.
Trait Implementations
sourceimpl Clone for StatusAttributeValue
impl Clone for StatusAttributeValue
sourcefn clone(&self) -> StatusAttributeValue
fn clone(&self) -> StatusAttributeValue
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 more
sourceimpl Debug for StatusAttributeValue
impl Debug for StatusAttributeValue
sourceimpl Encode for StatusAttributeValue
impl Encode for StatusAttributeValue
sourceimpl Hash for StatusAttributeValue
impl Hash for StatusAttributeValue
sourceimpl PartialEq<StatusAttributeValue> for StatusAttributeValue
impl PartialEq<StatusAttributeValue> for StatusAttributeValue
sourcefn eq(&self, other: &StatusAttributeValue) -> bool
fn eq(&self, other: &StatusAttributeValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StatusAttributeValue) -> bool
fn ne(&self, other: &StatusAttributeValue) -> bool
This method tests for !=.
impl Eq for StatusAttributeValue
impl StructuralEq for StatusAttributeValue
impl StructuralPartialEq for StatusAttributeValue
Auto Trait Implementations
impl RefUnwindSafe for StatusAttributeValue
impl Send for StatusAttributeValue
impl Sync for StatusAttributeValue
impl Unpin for StatusAttributeValue
impl UnwindSafe for StatusAttributeValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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