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