pub struct GmailMessageDelete { /* private fields */ }Expand description
Gmail REST message permanent deletion, yielding no response body.
Implementations§
Source§impl GmailMessageDelete
impl GmailMessageDelete
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.messages.delete request for the given
message id.
Trait Implementations§
Source§impl GmailCoroutine for GmailMessageDelete
impl GmailCoroutine for GmailMessageDelete
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailNoResponse>, GmailSendError>
type Return = Result<GmailSendOutput<GmailNoResponse>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailMessageDelete
impl RefUnwindSafe for GmailMessageDelete
impl Send for GmailMessageDelete
impl Sync for GmailMessageDelete
impl Unpin for GmailMessageDelete
impl UnsafeUnpin for GmailMessageDelete
impl UnwindSafe for GmailMessageDelete
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