pub struct GmailLabelDelete { /* private fields */ }Expand description
I/O-free coroutine deleting a Gmail label by id (users.labels.delete).
Implementations§
Source§impl GmailLabelDelete
impl GmailLabelDelete
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.labels.delete request for the given label id.
Trait Implementations§
Source§impl GmailCoroutine for GmailLabelDelete
impl GmailCoroutine for GmailLabelDelete
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 GmailLabelDelete
impl RefUnwindSafe for GmailLabelDelete
impl Send for GmailLabelDelete
impl Sync for GmailLabelDelete
impl Unpin for GmailLabelDelete
impl UnsafeUnpin for GmailLabelDelete
impl UnwindSafe for GmailLabelDelete
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