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