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