pub struct GmailLabelUpdate { /* private fields */ }Expand description
I/O-free coroutine updating a Gmail label (users.labels.update).
Implementations§
Source§impl GmailLabelUpdate
impl GmailLabelUpdate
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
label: &GmailLabel,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, label: &GmailLabel, ) -> Result<Self, GmailSendError>
Builds the users.labels.update request from the given label,
whose id selects the label to update.
Trait Implementations§
Source§impl GmailCoroutine for GmailLabelUpdate
impl GmailCoroutine for GmailLabelUpdate
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailLabel>, GmailSendError>
type Return = Result<GmailSendOutput<GmailLabel>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailLabelUpdate
impl RefUnwindSafe for GmailLabelUpdate
impl Send for GmailLabelUpdate
impl Sync for GmailLabelUpdate
impl Unpin for GmailLabelUpdate
impl UnsafeUnpin for GmailLabelUpdate
impl UnwindSafe for GmailLabelUpdate
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