pub struct GoogleUserInfo {
pub sub: String,
pub email: String,
pub email_verified: bool,
}Expand description
Verified account identity returned by Google’s OpenID Connect user-info endpoint.
Fields§
§sub: String§email: String§email_verified: boolTrait Implementations§
Source§impl Clone for GoogleUserInfo
impl Clone for GoogleUserInfo
Source§impl Debug for GoogleUserInfo
impl Debug for GoogleUserInfo
Source§impl<'de> Deserialize<'de> for GoogleUserInfo
impl<'de> Deserialize<'de> for GoogleUserInfo
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
Auto Trait Implementations§
impl Freeze for GoogleUserInfo
impl RefUnwindSafe for GoogleUserInfo
impl Send for GoogleUserInfo
impl Sync for GoogleUserInfo
impl Unpin for GoogleUserInfo
impl UnsafeUnpin for GoogleUserInfo
impl UnwindSafe for GoogleUserInfo
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