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 for StatusAttribute
impl PartialEq 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 ==
.impl Eq for StatusAttribute
impl StructuralPartialEq for StatusAttribute
Auto Trait Implementations§
impl RefUnwindSafe for StatusAttribute
impl Send for StatusAttribute
impl Sync for StatusAttribute
impl Unpin for StatusAttribute
impl UnwindSafe for StatusAttribute
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