pub struct AdminCreateDocsSectionBodyPosition {
pub subtype_0: Option<String>,
pub subtype_1: Option<String>,
pub subtype_2: Option<String>,
pub subtype_3: Option<String>,
pub subtype_4: Option<AdminCreateDocsSectionBodyPositionSubtype4>,
}Expand description
AdminCreateDocsSectionBodyPosition
JSON schema
{
"anyOf": [
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "object",
"required": [
"kind",
"slot"
],
"properties": {
"kind": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"slot": {
"anyOf": [
{
"type": "string"
},
{
"type": "string"
}
]
}
}
}
]
}Fields§
§subtype_0: Option<String>§subtype_1: Option<String>§subtype_2: Option<String>§subtype_3: Option<String>§subtype_4: Option<AdminCreateDocsSectionBodyPositionSubtype4>Implementations§
Trait Implementations§
Source§impl Clone for AdminCreateDocsSectionBodyPosition
impl Clone for AdminCreateDocsSectionBodyPosition
Source§fn clone(&self) -> AdminCreateDocsSectionBodyPosition
fn clone(&self) -> AdminCreateDocsSectionBodyPosition
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 AdminCreateDocsSectionBodyPosition
impl<'de> Deserialize<'de> for AdminCreateDocsSectionBodyPosition
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<&AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
impl From<&AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
Source§fn from(value: &AdminCreateDocsSectionBodyPosition) -> Self
fn from(value: &AdminCreateDocsSectionBodyPosition) -> Self
Converts to this type from the input type.
Source§impl From<AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
impl From<AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
Source§fn from(value: AdminCreateDocsSectionBodyPosition) -> Self
fn from(value: AdminCreateDocsSectionBodyPosition) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
impl TryFrom<AdminCreateDocsSectionBodyPosition> for AdminCreateDocsSectionBodyPosition
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AdminCreateDocsSectionBodyPosition,
) -> Result<Self, ConversionError>
fn try_from( value: AdminCreateDocsSectionBodyPosition, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminCreateDocsSectionBodyPosition
impl RefUnwindSafe for AdminCreateDocsSectionBodyPosition
impl Send for AdminCreateDocsSectionBodyPosition
impl Sync for AdminCreateDocsSectionBodyPosition
impl Unpin for AdminCreateDocsSectionBodyPosition
impl UnsafeUnpin for AdminCreateDocsSectionBodyPosition
impl UnwindSafe for AdminCreateDocsSectionBodyPosition
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