pub struct LinkedAccountTwitterInput {
pub name: LinkedAccountTwitterInputName,
pub profile_picture_url: Option<String>,
pub subject: LinkedAccountTwitterInputSubject,
pub type_: LinkedAccountTwitterInputType,
pub username: LinkedAccountTwitterInputUsername,
}Expand description
LinkedAccountTwitterInput
JSON schema
{
"title": "Twitter",
"type": "object",
"required": [
"name",
"subject",
"type",
"username"
],
"properties": {
"name": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"profile_picture_url": {
"type": "string",
"format": "uri"
},
"subject": {
"type": "string",
"pattern": "^[\\x00-\\x7F]{1,256}$"
},
"type": {
"type": "string",
"enum": [
"twitter_oauth"
]
},
"username": {
"type": "string",
"pattern": "^[0-9a-zA-Z|\\_]{1,15}$"
}
}
}Fields§
§name: LinkedAccountTwitterInputName§profile_picture_url: Option<String>§subject: LinkedAccountTwitterInputSubject§type_: LinkedAccountTwitterInputType§username: LinkedAccountTwitterInputUsernameTrait Implementations§
Source§impl Clone for LinkedAccountTwitterInput
impl Clone for LinkedAccountTwitterInput
Source§fn clone(&self) -> LinkedAccountTwitterInput
fn clone(&self) -> LinkedAccountTwitterInput
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 LinkedAccountTwitterInput
impl Debug for LinkedAccountTwitterInput
Source§impl<'de> Deserialize<'de> for LinkedAccountTwitterInput
impl<'de> Deserialize<'de> for LinkedAccountTwitterInput
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<&LinkedAccountTwitterInput> for LinkedAccountTwitterInput
impl From<&LinkedAccountTwitterInput> for LinkedAccountTwitterInput
Source§fn from(value: &LinkedAccountTwitterInput) -> Self
fn from(value: &LinkedAccountTwitterInput) -> Self
Converts to this type from the input type.
Source§impl From<LinkedAccountTwitterInput> for LinkedAccountInput
impl From<LinkedAccountTwitterInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTwitterInput) -> Self
fn from(value: LinkedAccountTwitterInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountTwitterInput
impl RefUnwindSafe for LinkedAccountTwitterInput
impl Send for LinkedAccountTwitterInput
impl Sync for LinkedAccountTwitterInput
impl Unpin for LinkedAccountTwitterInput
impl UnwindSafe for LinkedAccountTwitterInput
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