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§
source§impl Clone for StatusAttributeValue
impl Clone for StatusAttributeValue
source§fn clone(&self) -> StatusAttributeValue
fn clone(&self) -> StatusAttributeValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StatusAttributeValue
impl Debug for StatusAttributeValue
source§impl Hash for StatusAttributeValue
impl Hash for StatusAttributeValue
source§impl PartialEq<StatusAttributeValue> for StatusAttributeValue
impl PartialEq<StatusAttributeValue> for StatusAttributeValue
source§fn 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 ==.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more