pub struct GmailLabelPatch { /* private fields */ }Expand description
I/O-free coroutine patching a Gmail label (users.labels.patch).
Implementations§
Source§impl GmailLabelPatch
impl GmailLabelPatch
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.patch request from the given label,
whose id selects the label to patch.
Trait Implementations§
Source§impl GmailCoroutine for GmailLabelPatch
impl GmailCoroutine for GmailLabelPatch
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 GmailLabelPatch
impl RefUnwindSafe for GmailLabelPatch
impl Send for GmailLabelPatch
impl Sync for GmailLabelPatch
impl Unpin for GmailLabelPatch
impl UnsafeUnpin for GmailLabelPatch
impl UnwindSafe for GmailLabelPatch
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