pub struct GmailThreadsList { /* private fields */ }Expand description
Gmail REST thread listing, wrapping a page of thread summaries.
Implementations§
Source§impl GmailThreadsList
impl GmailThreadsList
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
params: &GmailThreadsListParams<'_>,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, params: &GmailThreadsListParams<'_>, ) -> Result<Self, GmailSendError>
Builds the users.threads.list request from the given query
parameters; user_id is the mailbox owner (usually me).
Trait Implementations§
Source§impl GmailCoroutine for GmailThreadsList
impl GmailCoroutine for GmailThreadsList
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailThreadsListResponse>, GmailSendError>
type Return = Result<GmailSendOutput<GmailThreadsListResponse>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailThreadsList
impl RefUnwindSafe for GmailThreadsList
impl Send for GmailThreadsList
impl Sync for GmailThreadsList
impl Unpin for GmailThreadsList
impl UnsafeUnpin for GmailThreadsList
impl UnwindSafe for GmailThreadsList
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