pub struct GmailDraftDelete { /* private fields */ }Expand description
Gmail REST draft deletion, yielding no response body.
Implementations§
Source§impl GmailDraftDelete
impl GmailDraftDelete
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.drafts.delete request for the given draft id.
Trait Implementations§
Source§impl GmailCoroutine for GmailDraftDelete
impl GmailCoroutine for GmailDraftDelete
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 GmailDraftDelete
impl RefUnwindSafe for GmailDraftDelete
impl Send for GmailDraftDelete
impl Sync for GmailDraftDelete
impl Unpin for GmailDraftDelete
impl UnsafeUnpin for GmailDraftDelete
impl UnwindSafe for GmailDraftDelete
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