Enum imap_proto::types::StatusAttribute
source · [−]#[non_exhaustive]
pub enum StatusAttribute {
HighestModSeq(u64),
Messages(u32),
Recent(u32),
UidNext(u32),
UidValidity(u32),
Unseen(u32),
}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.
HighestModSeq(u64)
Messages(u32)
Recent(u32)
UidNext(u32)
UidValidity(u32)
Unseen(u32)
Trait Implementations
sourceimpl Clone for StatusAttribute
impl Clone for StatusAttribute
sourcefn clone(&self) -> StatusAttribute
fn clone(&self) -> StatusAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StatusAttribute
impl Debug for StatusAttribute
sourceimpl PartialEq<StatusAttribute> for StatusAttribute
impl PartialEq<StatusAttribute> for StatusAttribute
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &StatusAttribute) -> bool
fn ne(&self, other: &StatusAttribute) -> bool
This method tests for !=.
impl Eq for StatusAttribute
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more