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