[−][src]Struct google_signin::IdInfo
Fields
iss: String
These six fields are included in all Google ID Tokens.
sub: String
azp: String
aud: String
iat: String
exp: String
hd: Option<String>
This value indicates the user belongs to a Google Hosted Domain
email: Option<String>
These seven fields are only included when the user has granted the "profile" and "email" OAuth scopes to the application.
email_verified: Option<String>
name: Option<String>
picture: Option<String>
given_name: Option<String>
family_name: Option<String>
locale: Option<String>
Methods
impl IdInfo
[src]
Trait Implementations
impl Debug for IdInfo
[src]
impl<'de> Deserialize<'de> for IdInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for IdInfo
impl Sync for IdInfo
impl Send for IdInfo
impl UnwindSafe for IdInfo
impl RefUnwindSafe for IdInfo
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
[src]
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,