pub struct ImapMailboxSelectData {
pub flags: Option<Vec<Flag<'static>>>,
pub exists: Option<u32>,
pub recent: Option<u32>,
pub unseen: Option<NonZeroU32>,
pub permanent_flags: Option<Vec<FlagPerm<'static>>>,
pub uid_next: Option<NonZeroU32>,
pub uid_validity: Option<NonZeroU32>,
pub highest_mod_seq: Option<u64>,
pub vanished_earlier: Vec<NonZeroU32>,
pub changed: Vec<ImapMailboxSelectFetch>,
}Expand description
Decoded SELECT (or EXAMINE) response.
CONDSTORE/QRESYNC extras (highest_mod_seq, vanished_earlier,
changed) stay empty on the base call.
Fields§
§flags: Option<Vec<Flag<'static>>>Flags defined in the mailbox (untagged FLAGS).
exists: Option<u32>Number of messages in the mailbox (untagged EXISTS).
recent: Option<u32>Number of messages with the \Recent flag (untagged RECENT).
unseen: Option<NonZeroU32>Sequence number of the first unseen message (UNSEEN code).
permanent_flags: Option<Vec<FlagPerm<'static>>>Flags the client can change permanently (PERMANENTFLAGS code).
uid_next: Option<NonZeroU32>Predicted UID of the next message (UIDNEXT code).
uid_validity: Option<NonZeroU32>UID validity of the mailbox (UIDVALIDITY code).
highest_mod_seq: Option<u64>Highest modification sequence (CONDSTORE HIGHESTMODSEQ code).
vanished_earlier: Vec<NonZeroU32>UIDs expunged since the last sync (QRESYNC VANISHED (EARLIER)).
changed: Vec<ImapMailboxSelectFetch>Implicit FETCH responses for changed messages (QRESYNC).
Trait Implementations§
Source§impl Clone for ImapMailboxSelectData
impl Clone for ImapMailboxSelectData
Source§fn clone(&self) -> ImapMailboxSelectData
fn clone(&self) -> ImapMailboxSelectData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImapMailboxSelectData
impl Debug for ImapMailboxSelectData
Source§impl Default for ImapMailboxSelectData
impl Default for ImapMailboxSelectData
Source§fn default() -> ImapMailboxSelectData
fn default() -> ImapMailboxSelectData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImapMailboxSelectData
impl RefUnwindSafe for ImapMailboxSelectData
impl Send for ImapMailboxSelectData
impl Sync for ImapMailboxSelectData
impl Unpin for ImapMailboxSelectData
impl UnsafeUnpin for ImapMailboxSelectData
impl UnwindSafe for ImapMailboxSelectData
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