pub struct LinkedAccountSpotifyOauth {
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_: LinkedAccountSpotifyOauthType,
pub verified_at: f64,
}Expand description
LinkedAccountSpotifyOauth
JSON schema
{
"title": "Spotify",
"type": "object",
"required": [
"email",
"first_verified_at",
"latest_verified_at",
"name",
"subject",
"type",
"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": [
"spotify_oauth"
]
},
"verified_at": {
"type": "number"
}
}
}Fields§
§email: Option<String>§first_verified_at: Option<f64>§latest_verified_at: Option<f64>§name: Option<String>§subject: String§type_: LinkedAccountSpotifyOauthType§verified_at: f64Trait Implementations§
Source§impl Clone for LinkedAccountSpotifyOauth
impl Clone for LinkedAccountSpotifyOauth
Source§fn clone(&self) -> LinkedAccountSpotifyOauth
fn clone(&self) -> LinkedAccountSpotifyOauth
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 LinkedAccountSpotifyOauth
impl Debug for LinkedAccountSpotifyOauth
Source§impl<'de> Deserialize<'de> for LinkedAccountSpotifyOauth
impl<'de> Deserialize<'de> for LinkedAccountSpotifyOauth
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountSpotifyOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountSpotifyOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountSpotifyOauth> for LinkedAccountSpotifyOauth
impl From<&LinkedAccountSpotifyOauth> for LinkedAccountSpotifyOauth
Source§fn from(value: &LinkedAccountSpotifyOauth) -> LinkedAccountSpotifyOauth
fn from(value: &LinkedAccountSpotifyOauth) -> LinkedAccountSpotifyOauth
Converts to this type from the input type.
Source§impl From<LinkedAccountSpotifyOauth> for LinkedAccount
impl From<LinkedAccountSpotifyOauth> for LinkedAccount
Source§fn from(value: LinkedAccountSpotifyOauth) -> LinkedAccount
fn from(value: LinkedAccountSpotifyOauth) -> LinkedAccount
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountSpotifyOauth
impl Serialize for LinkedAccountSpotifyOauth
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 LinkedAccountSpotifyOauth
impl RefUnwindSafe for LinkedAccountSpotifyOauth
impl Send for LinkedAccountSpotifyOauth
impl Sync for LinkedAccountSpotifyOauth
impl Unpin for LinkedAccountSpotifyOauth
impl UnwindSafe for LinkedAccountSpotifyOauth
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