pub struct GmailAutoForwardingGet { /* private fields */ }Expand description
I/O-free coroutine getting the Gmail auto-forwarding settings
(users.settings.getAutoForwarding).
Implementations§
Source§impl GmailAutoForwardingGet
impl GmailAutoForwardingGet
Sourcepub fn new(auth: &HttpAuthBearer, user_id: &str) -> Result<Self, GmailSendError>
pub fn new(auth: &HttpAuthBearer, user_id: &str) -> Result<Self, GmailSendError>
Builds the users.settings.getAutoForwarding request for the given
user.
Trait Implementations§
Source§impl GmailCoroutine for GmailAutoForwardingGet
impl GmailCoroutine for GmailAutoForwardingGet
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 GmailAutoForwardingGet
impl RefUnwindSafe for GmailAutoForwardingGet
impl Send for GmailAutoForwardingGet
impl Sync for GmailAutoForwardingGet
impl Unpin for GmailAutoForwardingGet
impl UnsafeUnpin for GmailAutoForwardingGet
impl UnwindSafe for GmailAutoForwardingGet
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