Struct melib::imap::SelectResponse
source · pub struct SelectResponse {
pub exists: ImapNum,
pub recent: ImapNum,
pub flags: (Flag, Vec<String>),
pub first_unseen: MessageSequenceNumber,
pub uidvalidity: UIDVALIDITY,
pub uidnext: UID,
pub permanentflags: (Flag, Vec<String>),
pub can_create_flags: bool,
pub read_only: bool,
pub highestmodseq: Option<Result<ModSequence, ()>>,
}
Fields§
§exists: ImapNum
§recent: ImapNum
§flags: (Flag, Vec<String>)
§first_unseen: MessageSequenceNumber
§uidvalidity: UIDVALIDITY
§uidnext: UID
§permanentflags: (Flag, Vec<String>)
§can_create_flags: bool
if SELECT returns * we can set arbitrary flags permanently.
read_only: bool
§highestmodseq: Option<Result<ModSequence, ()>>
Trait Implementations§
source§impl Clone for SelectResponse
impl Clone for SelectResponse
source§fn clone(&self) -> SelectResponse
fn clone(&self) -> SelectResponse
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 SelectResponse
impl Debug for SelectResponse
source§impl Default for SelectResponse
impl Default for SelectResponse
source§fn default() -> SelectResponse
fn default() -> SelectResponse
Returns the “default value” for a type. Read more
source§impl PartialEq for SelectResponse
impl PartialEq for SelectResponse
source§fn eq(&self, other: &SelectResponse) -> bool
fn eq(&self, other: &SelectResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SelectResponse
impl StructuralPartialEq for SelectResponse
Auto Trait Implementations§
impl Freeze for SelectResponse
impl RefUnwindSafe for SelectResponse
impl Send for SelectResponse
impl Sync for SelectResponse
impl Unpin for SelectResponse
impl UnwindSafe for SelectResponse
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.