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<LinkedAccountGoogleOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountGoogleOauth, <__D as Deserializer<'de>>::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) -> LinkedAccountGoogleOauth
fn from(value: &LinkedAccountGoogleOauth) -> LinkedAccountGoogleOauth
Converts to this type from the input type.
Source§impl From<LinkedAccountGoogleOauth> for LinkedAccount
impl From<LinkedAccountGoogleOauth> for LinkedAccount
Source§fn from(value: LinkedAccountGoogleOauth) -> LinkedAccount
fn from(value: LinkedAccountGoogleOauth) -> LinkedAccount
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountGoogleOauth
impl Serialize for LinkedAccountGoogleOauth
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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