pub struct LinkedAccountTwitchInput {
pub subject: LinkedAccountTwitchInputSubject,
pub type_: LinkedAccountTwitchInputType,
pub username: Option<LinkedAccountTwitchInputUsername>,
}Expand description
LinkedAccountTwitchInput
JSON schema
{
"title": "Twitch",
"type": "object",
"required": [
"subject",
"type"
],
"properties": {
"subject": {
"type": "string",
"pattern": "^\\d+$"
},
"type": {
"type": "string",
"enum": [
"twitch_oauth"
]
},
"username": {
"type": "string",
"pattern": "^[a-zA-Z0-9_]{4,25}$"
}
}
}Fields§
§subject: LinkedAccountTwitchInputSubject§type_: LinkedAccountTwitchInputType§username: Option<LinkedAccountTwitchInputUsername>Trait Implementations§
Source§impl Clone for LinkedAccountTwitchInput
impl Clone for LinkedAccountTwitchInput
Source§fn clone(&self) -> LinkedAccountTwitchInput
fn clone(&self) -> LinkedAccountTwitchInput
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 LinkedAccountTwitchInput
impl Debug for LinkedAccountTwitchInput
Source§impl<'de> Deserialize<'de> for LinkedAccountTwitchInput
impl<'de> Deserialize<'de> for LinkedAccountTwitchInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountTwitchInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountTwitchInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountTwitchInput> for LinkedAccountTwitchInput
impl From<&LinkedAccountTwitchInput> for LinkedAccountTwitchInput
Source§fn from(value: &LinkedAccountTwitchInput) -> LinkedAccountTwitchInput
fn from(value: &LinkedAccountTwitchInput) -> LinkedAccountTwitchInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTwitchInput> for LinkedAccountInput
impl From<LinkedAccountTwitchInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTwitchInput) -> LinkedAccountInput
fn from(value: LinkedAccountTwitchInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountTwitchInput
impl Serialize for LinkedAccountTwitchInput
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 LinkedAccountTwitchInput
impl RefUnwindSafe for LinkedAccountTwitchInput
impl Send for LinkedAccountTwitchInput
impl Sync for LinkedAccountTwitchInput
impl Unpin for LinkedAccountTwitchInput
impl UnwindSafe for LinkedAccountTwitchInput
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