pub struct LinkedAccountGithubInput {
pub email: Option<String>,
pub name: Option<String>,
pub subject: LinkedAccountGithubInputSubject,
pub type_: LinkedAccountGithubInputType,
pub username: LinkedAccountGithubInputUsername,
}Expand description
LinkedAccountGithubInput
JSON schema
{
"title": "Github",
"type": "object",
"required": [
"subject",
"type",
"username"
],
"properties": {
"email": {
"type": "string",
"format": "email"
},
"name": {
"type": "string"
},
"subject": {
"type": "string",
"pattern": "^[\\x00-\\x7F]{1,256}$"
},
"type": {
"type": "string",
"enum": [
"github_oauth"
]
},
"username": {
"type": "string",
"maxLength": 39,
"pattern": "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$"
}
}
}Fields§
§email: Option<String>§name: Option<String>§subject: LinkedAccountGithubInputSubject§type_: LinkedAccountGithubInputType§username: LinkedAccountGithubInputUsernameTrait Implementations§
Source§impl Clone for LinkedAccountGithubInput
impl Clone for LinkedAccountGithubInput
Source§fn clone(&self) -> LinkedAccountGithubInput
fn clone(&self) -> LinkedAccountGithubInput
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 LinkedAccountGithubInput
impl Debug for LinkedAccountGithubInput
Source§impl<'de> Deserialize<'de> for LinkedAccountGithubInput
impl<'de> Deserialize<'de> for LinkedAccountGithubInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountGithubInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountGithubInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountGithubInput> for LinkedAccountGithubInput
impl From<&LinkedAccountGithubInput> for LinkedAccountGithubInput
Source§fn from(value: &LinkedAccountGithubInput) -> LinkedAccountGithubInput
fn from(value: &LinkedAccountGithubInput) -> LinkedAccountGithubInput
Converts to this type from the input type.
Source§impl From<LinkedAccountGithubInput> for LinkedAccountInput
impl From<LinkedAccountGithubInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountGithubInput) -> LinkedAccountInput
fn from(value: LinkedAccountGithubInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountGithubInput
impl Serialize for LinkedAccountGithubInput
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 LinkedAccountGithubInput
impl RefUnwindSafe for LinkedAccountGithubInput
impl Send for LinkedAccountGithubInput
impl Sync for LinkedAccountGithubInput
impl Unpin for LinkedAccountGithubInput
impl UnwindSafe for LinkedAccountGithubInput
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