pub struct ImapMessageSortOptions {
pub uid: bool,
pub fallback: bool,
}Expand description
Options for ImapMessageSort::new.
Fields§
§uid: boolWhen true, sort UIDs; returned ids are UIDs.
fallback: boolWhen true, skip the SORT command and sort client-side via
SEARCH + FETCH; defaults to using the server SORT.
The consumer sets this from a SORT capability check (or by choice).
Trait Implementations§
Source§impl Clone for ImapMessageSortOptions
impl Clone for ImapMessageSortOptions
Source§fn clone(&self) -> ImapMessageSortOptions
fn clone(&self) -> ImapMessageSortOptions
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 ImapMessageSortOptions
impl Debug for ImapMessageSortOptions
Source§impl Default for ImapMessageSortOptions
impl Default for ImapMessageSortOptions
Source§fn default() -> ImapMessageSortOptions
fn default() -> ImapMessageSortOptions
Returns the “default value” for a type. Read more
impl Eq for ImapMessageSortOptions
Source§impl PartialEq for ImapMessageSortOptions
impl PartialEq for ImapMessageSortOptions
impl StructuralPartialEq for ImapMessageSortOptions
Auto Trait Implementations§
impl Freeze for ImapMessageSortOptions
impl RefUnwindSafe for ImapMessageSortOptions
impl Send for ImapMessageSortOptions
impl Sync for ImapMessageSortOptions
impl Unpin for ImapMessageSortOptions
impl UnsafeUnpin for ImapMessageSortOptions
impl UnwindSafe for ImapMessageSortOptions
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