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