pub enum StatusItem {
Messages(u32),
Recent(u32),
UidNext(u32),
UidValidity(u32),
Unseen(u32),
Other(u32),
}Expand description
A single item in a STATUS data response.
Variants§
Messages(u32)
MESSAGES — total message count.
Recent(u32)
RECENT — count of \Recent messages.
UidNext(u32)
UIDNEXT — predicted next UID.
UidValidity(u32)
UIDVALIDITY — UID validity value.
Unseen(u32)
UNSEEN — count of unseen messages.
Other(u32)
RFC 7889 / RFC 9051 — newer attributes we surface but don’t decode further.
Trait Implementations§
Source§impl Debug for StatusItem
impl Debug for StatusItem
Source§impl PartialEq for StatusItem
impl PartialEq for StatusItem
Source§fn eq(&self, other: &StatusItem) -> bool
fn eq(&self, other: &StatusItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StatusItem
impl StructuralPartialEq for StatusItem
Auto Trait Implementations§
impl Freeze for StatusItem
impl RefUnwindSafe for StatusItem
impl Send for StatusItem
impl Sync for StatusItem
impl Unpin for StatusItem
impl UnsafeUnpin for StatusItem
impl UnwindSafe for StatusItem
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