pub enum SearchKey {
}Expand description
Represents a search criterion in an IMAP SEARCH command.
Variants§
From(String)
To(String)
Subject(String)
Body(String)
Text(String)
All
Answered
Deleted
Draft
Flagged
Recent
Seen
Unanswered
Undeleted
Undraft
Unflagged
Unseen
And(Vec<SearchKey>)
Or(Box<SearchKey>, Box<SearchKey>)
Not(Box<SearchKey>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchKey
impl RefUnwindSafe for SearchKey
impl Send for SearchKey
impl Sync for SearchKey
impl Unpin for SearchKey
impl UnsafeUnpin for SearchKey
impl UnwindSafe for SearchKey
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