pub struct GmailDelegateCreate { /* private fields */ }Expand description
I/O-free coroutine creating a delegate on a Gmail account
(users.settings.delegates.create).
Implementations§
Source§impl GmailDelegateCreate
impl GmailDelegateCreate
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
delegate: &GmailDelegate,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, delegate: &GmailDelegate, ) -> Result<Self, GmailSendError>
Builds the users.settings.delegates.create request for the given
delegate.
Trait Implementations§
Source§impl GmailCoroutine for GmailDelegateCreate
impl GmailCoroutine for GmailDelegateCreate
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 GmailDelegateCreate
impl RefUnwindSafe for GmailDelegateCreate
impl Send for GmailDelegateCreate
impl Sync for GmailDelegateCreate
impl Unpin for GmailDelegateCreate
impl UnsafeUnpin for GmailDelegateCreate
impl UnwindSafe for GmailDelegateCreate
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