pub enum JmapEmailSortProperty {
ReceivedAt,
SentAt,
Size,
From,
To,
Subject,
HasAttachment,
Keyword,
AllInThreadHaveKeyword,
SomeInThreadHaveKeyword,
}Expand description
Sort property for Email/query (RFC 8621 §4.4).
Variants§
ReceivedAt
Sort by receive time.
SentAt
Sort by the Date header.
Size
Sort by message size.
From
Sort by the first From address.
To
Sort by the first To address.
Subject
Sort by the base subject.
HasAttachment
Sort by attachment presence.
Keyword
Sort by keyword presence on the email (requires keyword field).
AllInThreadHaveKeyword
Sort by whether all emails in the thread have a keyword
(requires keyword field).
SomeInThreadHaveKeyword
Sort by whether some emails in the thread have a keyword
(requires keyword field).
Trait Implementations§
Source§impl Clone for JmapEmailSortProperty
impl Clone for JmapEmailSortProperty
Source§fn clone(&self) -> JmapEmailSortProperty
fn clone(&self) -> JmapEmailSortProperty
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 JmapEmailSortProperty
impl Debug for JmapEmailSortProperty
Auto Trait Implementations§
impl Freeze for JmapEmailSortProperty
impl RefUnwindSafe for JmapEmailSortProperty
impl Send for JmapEmailSortProperty
impl Sync for JmapEmailSortProperty
impl Unpin for JmapEmailSortProperty
impl UnsafeUnpin for JmapEmailSortProperty
impl UnwindSafe for JmapEmailSortProperty
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