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