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<LinkedAccountGithubOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountGithubOauth, <__D as Deserializer<'de>>::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) -> LinkedAccountGithubOauth
fn from(value: &LinkedAccountGithubOauth) -> LinkedAccountGithubOauth
Converts to this type from the input type.
Source§impl From<LinkedAccountGithubOauth> for LinkedAccount
impl From<LinkedAccountGithubOauth> for LinkedAccount
Source§fn from(value: LinkedAccountGithubOauth) -> LinkedAccount
fn from(value: LinkedAccountGithubOauth) -> LinkedAccount
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountGithubOauth
impl Serialize for LinkedAccountGithubOauth
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 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