pub struct LinkedAccountGoogleOauth {
pub email: String,
pub first_verified_at: Option<f64>,
pub latest_verified_at: Option<f64>,
pub name: Option<String>,
pub subject: String,
pub type_: LinkedAccountGoogleOauthType,
pub verified_at: f64,
}Expand description
LinkedAccountGoogleOauth
JSON schema
{
"title": "Google",
"type": "object",
"required": [
"email",
"first_verified_at",
"latest_verified_at",
"name",
"subject",
"type",
"verified_at"
],
"properties": {
"email": {
"type": "string"
},
"first_verified_at": {
"type": [
"number",
"null"
]
},
"latest_verified_at": {
"type": [
"number",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"subject": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"google_oauth"
]
},
"verified_at": {
"type": "number"
}
}
}Fields§
§email: String§first_verified_at: Option<f64>§latest_verified_at: Option<f64>§name: Option<String>§subject: String§type_: LinkedAccountGoogleOauthType§verified_at: f64Trait Implementations§
Source§impl Clone for LinkedAccountGoogleOauth
impl Clone for LinkedAccountGoogleOauth
Source§fn clone(&self) -> LinkedAccountGoogleOauth
fn clone(&self) -> LinkedAccountGoogleOauth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkedAccountGoogleOauth
impl Debug for LinkedAccountGoogleOauth
Source§impl<'de> Deserialize<'de> for LinkedAccountGoogleOauth
impl<'de> Deserialize<'de> for LinkedAccountGoogleOauth
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
Source§impl From<&LinkedAccountGoogleOauth> for LinkedAccountGoogleOauth
impl From<&LinkedAccountGoogleOauth> for LinkedAccountGoogleOauth
Source§fn from(value: &LinkedAccountGoogleOauth) -> Self
fn from(value: &LinkedAccountGoogleOauth) -> Self
Converts to this type from the input type.
Source§impl From<LinkedAccountGoogleOauth> for LinkedAccount
impl From<LinkedAccountGoogleOauth> for LinkedAccount
Source§fn from(value: LinkedAccountGoogleOauth) -> Self
fn from(value: LinkedAccountGoogleOauth) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountGoogleOauth
impl RefUnwindSafe for LinkedAccountGoogleOauth
impl Send for LinkedAccountGoogleOauth
impl Sync for LinkedAccountGoogleOauth
impl Unpin for LinkedAccountGoogleOauth
impl UnwindSafe for LinkedAccountGoogleOauth
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