Enum imap_types::command::status::StatusAttribute
source · pub enum StatusAttribute {
Messages,
Recent,
UidNext,
UidValidity,
Unseen,
}Expand description
The currently defined status data items that can be requested.
Variants§
Messages
The number of messages in the mailbox.
Recent
The number of messages with the \Recent flag set.
UidNext
The next unique identifier value of the mailbox.
UidValidity
The unique identifier validity value of the mailbox.
Unseen
The number of messages which do not have the \Seen flag set.
Trait Implementations§
source§impl Clone for StatusAttribute
impl Clone for StatusAttribute
source§fn clone(&self) -> StatusAttribute
fn clone(&self) -> StatusAttribute
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 StatusAttribute
impl Debug for StatusAttribute
source§impl Encode for StatusAttribute
impl Encode for StatusAttribute
source§impl Hash for StatusAttribute
impl Hash for StatusAttribute
source§impl PartialEq<StatusAttribute> for StatusAttribute
impl PartialEq<StatusAttribute> for StatusAttribute
source§fn eq(&self, other: &StatusAttribute) -> bool
fn eq(&self, other: &StatusAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.