Enum async_imap::types::StatusAttribute
source · #[non_exhaustive]
pub enum StatusAttribute {
HighestModSeq(u64),
Messages(u32),
Recent(u32),
UidNext(u32),
UidValidity(u32),
Unseen(u32),
}
Expand description
re-exported from imap_proto;
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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 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 ==
.