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