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 Encode for StatusAttributeValue
impl Encode 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 ==.