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<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<&LinkedAccountGithubInput> for LinkedAccountGithubInput
impl From<&LinkedAccountGithubInput> for LinkedAccountGithubInput
Source§fn from(value: &LinkedAccountGithubInput) -> Self
fn from(value: &LinkedAccountGithubInput) -> Self
Converts to this type from the input type.
Source§impl From<LinkedAccountGithubInput> for LinkedAccountInput
impl From<LinkedAccountGithubInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountGithubInput) -> Self
fn from(value: LinkedAccountGithubInput) -> Self
Converts to this type from the input type.
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