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