pub struct LinkedAccountTiktokInput {
pub name: Option<LinkedAccountTiktokInputName>,
pub subject: LinkedAccountTiktokInputSubject,
pub type_: LinkedAccountTiktokInputType,
pub username: LinkedAccountTiktokInputUsername,
}Expand description
LinkedAccountTiktokInput
JSON schema
{
"title": "Tiktok",
"type": "object",
"required": [
"name",
"subject",
"type",
"username"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"maxLength": 30,
"minLength": 1
},
"subject": {
"type": "string",
"pattern": "^[\\x00-\\x7F]{1,256}$"
},
"type": {
"type": "string",
"enum": [
"tiktok_oauth"
]
},
"username": {
"type": "string",
"pattern": "^(?!tiktok|everyone|here)[0-9a-zA-Z]{2,32}$"
}
}
}Fields§
§name: Option<LinkedAccountTiktokInputName>§subject: LinkedAccountTiktokInputSubject§type_: LinkedAccountTiktokInputType§username: LinkedAccountTiktokInputUsernameTrait Implementations§
Source§impl Clone for LinkedAccountTiktokInput
impl Clone for LinkedAccountTiktokInput
Source§fn clone(&self) -> LinkedAccountTiktokInput
fn clone(&self) -> LinkedAccountTiktokInput
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 LinkedAccountTiktokInput
impl Debug for LinkedAccountTiktokInput
Source§impl<'de> Deserialize<'de> for LinkedAccountTiktokInput
impl<'de> Deserialize<'de> for LinkedAccountTiktokInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountTiktokInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountTiktokInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountTiktokInput> for LinkedAccountTiktokInput
impl From<&LinkedAccountTiktokInput> for LinkedAccountTiktokInput
Source§fn from(value: &LinkedAccountTiktokInput) -> LinkedAccountTiktokInput
fn from(value: &LinkedAccountTiktokInput) -> LinkedAccountTiktokInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTiktokInput> for LinkedAccountInput
impl From<LinkedAccountTiktokInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTiktokInput) -> LinkedAccountInput
fn from(value: LinkedAccountTiktokInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountTiktokInput
impl Serialize for LinkedAccountTiktokInput
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 LinkedAccountTiktokInput
impl RefUnwindSafe for LinkedAccountTiktokInput
impl Send for LinkedAccountTiktokInput
impl Sync for LinkedAccountTiktokInput
impl Unpin for LinkedAccountTiktokInput
impl UnwindSafe for LinkedAccountTiktokInput
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