pub struct LinkedAccountCustomOauth {
pub email: Option<String>,
pub first_verified_at: Option<f64>,
pub latest_verified_at: Option<f64>,
pub name: Option<String>,
pub profile_picture_url: Option<String>,
pub subject: String,
pub type_: CustomOAuthProviderId,
pub username: Option<String>,
pub verified_at: f64,
}Expand description
LinkedAccountCustomOauth
JSON schema
{
"title": "LinkedAccountCustomOauth",
"type": "object",
"required": [
"first_verified_at",
"latest_verified_at",
"subject",
"type",
"verified_at"
],
"properties": {
"email": {
"type": "string"
},
"first_verified_at": {
"type": [
"number",
"null"
]
},
"latest_verified_at": {
"type": [
"number",
"null"
]
},
"name": {
"type": "string"
},
"profile_picture_url": {
"type": "string"
},
"subject": {
"type": "string"
},
"type": {
"$ref": "#/components/schemas/CustomOAuthProviderID"
},
"username": {
"type": "string"
},
"verified_at": {
"type": "number"
}
}
}Fields§
§email: Option<String>§first_verified_at: Option<f64>§latest_verified_at: Option<f64>§name: Option<String>§profile_picture_url: Option<String>§subject: String§type_: CustomOAuthProviderId§username: Option<String>§verified_at: f64Trait Implementations§
Source§impl Clone for LinkedAccountCustomOauth
impl Clone for LinkedAccountCustomOauth
Source§fn clone(&self) -> LinkedAccountCustomOauth
fn clone(&self) -> LinkedAccountCustomOauth
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 LinkedAccountCustomOauth
impl Debug for LinkedAccountCustomOauth
Source§impl<'de> Deserialize<'de> for LinkedAccountCustomOauth
impl<'de> Deserialize<'de> for LinkedAccountCustomOauth
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<&LinkedAccountCustomOauth> for LinkedAccountCustomOauth
impl From<&LinkedAccountCustomOauth> for LinkedAccountCustomOauth
Source§fn from(value: &LinkedAccountCustomOauth) -> Self
fn from(value: &LinkedAccountCustomOauth) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountCustomOauth
impl RefUnwindSafe for LinkedAccountCustomOauth
impl Send for LinkedAccountCustomOauth
impl Sync for LinkedAccountCustomOauth
impl Unpin for LinkedAccountCustomOauth
impl UnsafeUnpin for LinkedAccountCustomOauth
impl UnwindSafe for LinkedAccountCustomOauth
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