pub struct GmailThreadTrash { /* private fields */ }Expand description
Gmail REST thread trashing, wrapping the updated GmailThread.
Implementations§
Source§impl GmailThreadTrash
impl GmailThreadTrash
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
id: &str,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, id: &str, ) -> Result<Self, GmailSendError>
Builds the users.threads.trash request for the given thread id.
Trait Implementations§
Source§impl GmailCoroutine for GmailThreadTrash
impl GmailCoroutine for GmailThreadTrash
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailThread>, GmailSendError>
type Return = Result<GmailSendOutput<GmailThread>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailThreadTrash
impl RefUnwindSafe for GmailThreadTrash
impl Send for GmailThreadTrash
impl Sync for GmailThreadTrash
impl Unpin for GmailThreadTrash
impl UnsafeUnpin for GmailThreadTrash
impl UnwindSafe for GmailThreadTrash
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