pub struct GmailThreadsListParams<'a> {
pub q: Option<&'a str>,
pub label_ids: &'a [String],
pub max_results: Option<u32>,
pub page_token: Option<&'a str>,
pub include_spam_trash: bool,
}Expand description
Query parameters for listing threads (users.threads.list).
Fields§
§q: Option<&'a str>Search query filtering threads, using the Gmail search box syntax.
label_ids: &'a [String]Label ids that returned threads must all carry.
max_results: Option<u32>Maximum number of threads to return per page.
page_token: Option<&'a str>Page token from a previous listing response.
include_spam_trash: boolWhether to include threads from SPAM and TRASH.
Trait Implementations§
Source§impl<'a> Clone for GmailThreadsListParams<'a>
impl<'a> Clone for GmailThreadsListParams<'a>
Source§fn clone(&self) -> GmailThreadsListParams<'a>
fn clone(&self) -> GmailThreadsListParams<'a>
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<'a> Debug for GmailThreadsListParams<'a>
impl<'a> Debug for GmailThreadsListParams<'a>
Source§impl<'a> Default for GmailThreadsListParams<'a>
impl<'a> Default for GmailThreadsListParams<'a>
Source§fn default() -> GmailThreadsListParams<'a>
fn default() -> GmailThreadsListParams<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for GmailThreadsListParams<'a>
Source§impl<'a> PartialEq for GmailThreadsListParams<'a>
impl<'a> PartialEq for GmailThreadsListParams<'a>
Source§impl<'a> Serialize for GmailThreadsListParams<'a>
impl<'a> Serialize for GmailThreadsListParams<'a>
impl<'a> StructuralPartialEq for GmailThreadsListParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for GmailThreadsListParams<'a>
impl<'a> RefUnwindSafe for GmailThreadsListParams<'a>
impl<'a> Send for GmailThreadsListParams<'a>
impl<'a> Sync for GmailThreadsListParams<'a>
impl<'a> Unpin for GmailThreadsListParams<'a>
impl<'a> UnsafeUnpin for GmailThreadsListParams<'a>
impl<'a> UnwindSafe for GmailThreadsListParams<'a>
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