pub struct GmailDelegateGet { /* private fields */ }Expand description
I/O-free coroutine getting a delegate of a Gmail account
(users.settings.delegates.get).
Implementations§
Source§impl GmailDelegateGet
impl GmailDelegateGet
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
delegate_email: &str,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, delegate_email: &str, ) -> Result<Self, GmailSendError>
Builds the users.settings.delegates.get request for the given
delegate email.
Trait Implementations§
Source§impl GmailCoroutine for GmailDelegateGet
impl GmailCoroutine for GmailDelegateGet
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailDelegate>, GmailSendError>
type Return = Result<GmailSendOutput<GmailDelegate>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailDelegateGet
impl RefUnwindSafe for GmailDelegateGet
impl Send for GmailDelegateGet
impl Sync for GmailDelegateGet
impl Unpin for GmailDelegateGet
impl UnsafeUnpin for GmailDelegateGet
impl UnwindSafe for GmailDelegateGet
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