pub struct CondStoreStatus {
pub mailbox: String,
pub highestmodseq: ModSeq,
pub exists: u32,
pub recent: u32,
pub unseen: u32,
pub uidvalidity: u32,
pub uidnext: u32,
}Expand description
Mailbox status with CONDSTORE support
Fields§
§mailbox: StringMailbox name
highestmodseq: ModSeqHighest MODSEQ in the mailbox
exists: u32Number of messages
recent: u32Number of recent messages
unseen: u32Number of unseen messages
uidvalidity: u32UIDVALIDITY
uidnext: u32Next UID
Implementations§
Source§impl CondStoreStatus
impl CondStoreStatus
Sourcepub fn to_status_response(&self) -> String
pub fn to_status_response(&self) -> String
Format as IMAP STATUS response
Example: * STATUS INBOX (MESSAGES 5 HIGHESTMODSEQ 12345)
Trait Implementations§
Source§impl Clone for CondStoreStatus
impl Clone for CondStoreStatus
Source§fn clone(&self) -> CondStoreStatus
fn clone(&self) -> CondStoreStatus
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CondStoreStatus
impl RefUnwindSafe for CondStoreStatus
impl Send for CondStoreStatus
impl Sync for CondStoreStatus
impl Unpin for CondStoreStatus
impl UnsafeUnpin for CondStoreStatus
impl UnwindSafe for CondStoreStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more