pub struct GmailClientStdConnectOptions {
pub tls: Tls,
pub user_id: String,
}Available on crate feature
client only.Expand description
Optional settings for GmailClientStd::connect; every field has a
default (the TLS backend default, and me as the mailbox owner).
Fields§
§tls: TlsAvailable on crate features
native-tls or rustls-aws or rustls-ring only.TLS backend configuration.
user_id: StringOwner of the mailbox the requests target (me by default).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GmailClientStdConnectOptions
impl RefUnwindSafe for GmailClientStdConnectOptions
impl Send for GmailClientStdConnectOptions
impl Sync for GmailClientStdConnectOptions
impl Unpin for GmailClientStdConnectOptions
impl UnsafeUnpin for GmailClientStdConnectOptions
impl UnwindSafe for GmailClientStdConnectOptions
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