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