pub struct LinkedAccountSpotifyInput {
pub email: Option<String>,
pub name: Option<String>,
pub subject: String,
pub type_: LinkedAccountSpotifyInputType,
}Expand description
LinkedAccountSpotifyInput
JSON schema
{
"title": "Spotify",
"type": "object",
"required": [
"subject",
"type"
],
"properties": {
"email": {
"type": "string",
"format": "email"
},
"name": {
"type": "string"
},
"subject": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"spotify_oauth"
]
}
}
}Fields§
§email: Option<String>§name: Option<String>§subject: String§type_: LinkedAccountSpotifyInputTypeTrait Implementations§
Source§impl Clone for LinkedAccountSpotifyInput
impl Clone for LinkedAccountSpotifyInput
Source§fn clone(&self) -> LinkedAccountSpotifyInput
fn clone(&self) -> LinkedAccountSpotifyInput
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 LinkedAccountSpotifyInput
impl Debug for LinkedAccountSpotifyInput
Source§impl<'de> Deserialize<'de> for LinkedAccountSpotifyInput
impl<'de> Deserialize<'de> for LinkedAccountSpotifyInput
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<&LinkedAccountSpotifyInput> for LinkedAccountSpotifyInput
impl From<&LinkedAccountSpotifyInput> for LinkedAccountSpotifyInput
Source§fn from(value: &LinkedAccountSpotifyInput) -> Self
fn from(value: &LinkedAccountSpotifyInput) -> Self
Converts to this type from the input type.
Source§impl From<LinkedAccountSpotifyInput> for LinkedAccountInput
impl From<LinkedAccountSpotifyInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountSpotifyInput) -> Self
fn from(value: LinkedAccountSpotifyInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountSpotifyInput
impl RefUnwindSafe for LinkedAccountSpotifyInput
impl Send for LinkedAccountSpotifyInput
impl Sync for LinkedAccountSpotifyInput
impl Unpin for LinkedAccountSpotifyInput
impl UnwindSafe for LinkedAccountSpotifyInput
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