pub struct GoogleDesktopConfig {
pub client_id: String,
pub client_secret: String,
pub timeout: Duration,
pub auth_url: String,
pub token_url: String,
}Expand description
A Google OAuth client of type “Desktop app”. Its secret is not confidential for installed apps, but it is still the caller’s to supply.
Fields§
§client_id: String§client_secret: String§timeout: DurationHow long to wait for the browser redirect.
auth_url: String§token_url: StringImplementations§
Trait Implementations§
Source§impl Clone for GoogleDesktopConfig
impl Clone for GoogleDesktopConfig
Source§impl Debug for GoogleDesktopConfig
impl Debug for GoogleDesktopConfig
impl Eq for GoogleDesktopConfig
Source§impl PartialEq for GoogleDesktopConfig
impl PartialEq for GoogleDesktopConfig
impl StructuralPartialEq for GoogleDesktopConfig
Auto Trait Implementations§
impl Forget for GoogleDesktopConfig
impl Freeze for GoogleDesktopConfig
impl Move for GoogleDesktopConfig
impl RefUnwindSafe for GoogleDesktopConfig
impl Send for GoogleDesktopConfigwhere
RawVecInner: Send,
impl Sync for GoogleDesktopConfigwhere
RawVecInner: Sync,
impl Unpin for GoogleDesktopConfig
impl UnsafeUnpin for GoogleDesktopConfig
impl UnwindSafe for GoogleDesktopConfigwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.