pub struct QueryParameters {
pub search: Option<String>,
pub keywords: Option<Vec<String>>,
pub not_keywords: Option<Vec<String>>,
pub mailbox: Option<MailboxName>,
pub mailboxes: Option<Vec<MailboxName>>,
pub from: Option<From>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
pub max_per_inbox: Option<u32>,
pub max_across_inboxes: Option<u32>,
pub sort: Option<SortOrder>,
}Fields§
§search: Option<String>§keywords: Option<Vec<String>>§not_keywords: Option<Vec<String>>§mailbox: Option<MailboxName>§mailboxes: Option<Vec<MailboxName>>§from: Option<From>§since: Option<DateTime<Utc>>§until: Option<DateTime<Utc>>§max_per_inbox: Option<u32>§max_across_inboxes: Option<u32>§sort: Option<SortOrder>Trait Implementations§
Source§impl Clone for QueryParameters
impl Clone for QueryParameters
Source§fn clone(&self) -> QueryParameters
fn clone(&self) -> QueryParameters
Returns a duplicate 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 QueryParameters
impl Debug for QueryParameters
Source§impl Default for QueryParameters
impl Default for QueryParameters
Source§fn default() -> QueryParameters
fn default() -> QueryParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryParameters
impl<'de> Deserialize<'de> for QueryParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for QueryParameters
impl Hash for QueryParameters
Source§impl PartialEq for QueryParameters
impl PartialEq for QueryParameters
Source§impl Serialize for QueryParameters
impl Serialize for QueryParameters
impl Eq for QueryParameters
impl StructuralPartialEq for QueryParameters
Auto Trait Implementations§
impl Freeze for QueryParameters
impl RefUnwindSafe for QueryParameters
impl Send for QueryParameters
impl Sync for QueryParameters
impl Unpin for QueryParameters
impl UnsafeUnpin for QueryParameters
impl UnwindSafe for QueryParameters
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.