pub struct GoogleClient {
pub client_id: String,
pub client_secret: String,
}Expand description
A Google Cloud “Desktop app” OAuth client.
Fields§
§client_id: String§client_secret: StringGoogle issues desktop clients a secret that is not confidential.
Trait Implementations§
Source§impl Clone for GoogleClient
impl Clone for GoogleClient
Source§impl Debug for GoogleClient
impl Debug for GoogleClient
Source§impl Default for GoogleClient
impl Default for GoogleClient
Source§impl<'de> Deserialize<'de> for GoogleClient
impl<'de> Deserialize<'de> for GoogleClient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GoogleClient
Source§impl PartialEq for GoogleClient
impl PartialEq for GoogleClient
Source§impl Serialize for GoogleClient
impl Serialize for GoogleClient
impl StructuralPartialEq for GoogleClient
Auto Trait Implementations§
impl Forget for GoogleClient
impl Freeze for GoogleClient
impl Move for GoogleClient
impl RefUnwindSafe for GoogleClient
impl Send for GoogleClient
impl Sync for GoogleClient
impl Unpin for GoogleClient
impl UnsafeUnpin for GoogleClient
impl UnwindSafe for GoogleClient
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.