pub struct SubmitOAuthBody {
pub description: Option<String>,
pub name: Option<String>,
pub repo_url: String,
}Expand description
SubmitOAuthBody
JSON schema
{
"type": "object",
"required": [
"repoUrl"
],
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"repoUrl": {
"type": "string"
}
}
}Fields§
§description: Option<String>§name: Option<String>§repo_url: StringImplementations§
Source§impl SubmitOAuthBody
impl SubmitOAuthBody
pub fn builder() -> SubmitOAuthBody
Trait Implementations§
Source§impl Clone for SubmitOAuthBody
impl Clone for SubmitOAuthBody
Source§fn clone(&self) -> SubmitOAuthBody
fn clone(&self) -> SubmitOAuthBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubmitOAuthBody
impl Debug for SubmitOAuthBody
Source§impl<'de> Deserialize<'de> for SubmitOAuthBody
impl<'de> Deserialize<'de> for SubmitOAuthBody
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<&SubmitOAuthBody> for SubmitOAuthBody
impl From<&SubmitOAuthBody> for SubmitOAuthBody
Source§fn from(value: &SubmitOAuthBody) -> Self
fn from(value: &SubmitOAuthBody) -> Self
Converts to this type from the input type.
Source§impl From<SubmitOAuthBody> for SubmitOAuthBody
impl From<SubmitOAuthBody> for SubmitOAuthBody
Source§fn from(value: SubmitOAuthBody) -> Self
fn from(value: SubmitOAuthBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SubmitOAuthBody
impl Serialize for SubmitOAuthBody
Source§impl TryFrom<SubmitOAuthBody> for SubmitOAuthBody
impl TryFrom<SubmitOAuthBody> for SubmitOAuthBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SubmitOAuthBody) -> Result<Self, ConversionError>
fn try_from(value: SubmitOAuthBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubmitOAuthBody
impl RefUnwindSafe for SubmitOAuthBody
impl Send for SubmitOAuthBody
impl Sync for SubmitOAuthBody
impl Unpin for SubmitOAuthBody
impl UnsafeUnpin for SubmitOAuthBody
impl UnwindSafe for SubmitOAuthBody
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