pub struct AdminCreateKindBodyCustomExample {
pub json: Option<String>,
pub yaml: Option<String>,
}Expand description
AdminCreateKindBodyCustomExample
JSON schema
{
"type": "object",
"properties": {
"json": {
"type": "string"
},
"yaml": {
"type": "string"
}
}
}Fields§
§json: Option<String>§yaml: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AdminCreateKindBodyCustomExample
impl Clone for AdminCreateKindBodyCustomExample
Source§fn clone(&self) -> AdminCreateKindBodyCustomExample
fn clone(&self) -> AdminCreateKindBodyCustomExample
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<'de> Deserialize<'de> for AdminCreateKindBodyCustomExample
impl<'de> Deserialize<'de> for AdminCreateKindBodyCustomExample
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<&AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
impl From<&AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
Source§fn from(value: &AdminCreateKindBodyCustomExample) -> Self
fn from(value: &AdminCreateKindBodyCustomExample) -> Self
Converts to this type from the input type.
Source§impl From<AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
impl From<AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
Source§fn from(value: AdminCreateKindBodyCustomExample) -> Self
fn from(value: AdminCreateKindBodyCustomExample) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
impl TryFrom<AdminCreateKindBodyCustomExample> for AdminCreateKindBodyCustomExample
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AdminCreateKindBodyCustomExample,
) -> Result<Self, ConversionError>
fn try_from( value: AdminCreateKindBodyCustomExample, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminCreateKindBodyCustomExample
impl RefUnwindSafe for AdminCreateKindBodyCustomExample
impl Send for AdminCreateKindBodyCustomExample
impl Sync for AdminCreateKindBodyCustomExample
impl Unpin for AdminCreateKindBodyCustomExample
impl UnsafeUnpin for AdminCreateKindBodyCustomExample
impl UnwindSafe for AdminCreateKindBodyCustomExample
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