pub struct ThreadListFilters {Show 13 fields
pub limit: Option<u32>,
pub page_token: Option<String>,
pub labels: Vec<String>,
pub before: Option<String>,
pub after: Option<String>,
pub ascending: Option<bool>,
pub include_spam: Option<bool>,
pub include_blocked: Option<bool>,
pub include_unauthenticated: Option<bool>,
pub include_trash: Option<bool>,
pub senders: Vec<String>,
pub recipients: Vec<String>,
pub subject: Vec<String>,
}Expand description
Filters for [Client::list_threads_filtered] and
[Client::search_threads_page]. Pagination fields (limit, page_token)
share the same query-parameter namespace as the filters.
Fields§
§limit: Option<u32>Maximum items per page.
page_token: Option<String>Cursor from a previous response’s next_page_token.
labels: Vec<String>Filter by labels.
before: Option<String>Only threads before this timestamp (RFC 3339).
after: Option<String>Only threads after this timestamp (RFC 3339).
ascending: Option<bool>Return oldest first instead of newest first.
include_spam: Option<bool>Include spam threads.
include_blocked: Option<bool>Include blocked threads.
include_unauthenticated: Option<bool>Include unauthenticated threads.
include_trash: Option<bool>Include trashed threads.
senders: Vec<String>Filter by sender substring (repeatable).
recipients: Vec<String>Filter by recipient substring (repeatable).
subject: Vec<String>Filter by subject substring (repeatable).
Trait Implementations§
Source§impl Clone for ThreadListFilters
impl Clone for ThreadListFilters
Source§fn clone(&self) -> ThreadListFilters
fn clone(&self) -> ThreadListFilters
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 ThreadListFilters
impl Debug for ThreadListFilters
Source§impl Default for ThreadListFilters
impl Default for ThreadListFilters
Source§fn default() -> ThreadListFilters
fn default() -> ThreadListFilters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadListFilters
impl RefUnwindSafe for ThreadListFilters
impl Send for ThreadListFilters
impl Sync for ThreadListFilters
impl Unpin for ThreadListFilters
impl UnsafeUnpin for ThreadListFilters
impl UnwindSafe for ThreadListFilters
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