pub struct TitledSingleSelectEnumSchemaOneOfItem {
pub const_: String,
pub title: String,
}Expand description
TitledSingleSelectEnumSchemaOneOfItem
JSON schema
{
"type": "object",
"required": [
"const",
"title"
],
"properties": {
"const": {
"description": "The enum value.",
"type": "string"
},
"title": {
"description": "Display label for this option.",
"type": "string"
}
}
}Fields§
§const_: StringThe enum value.
title: StringDisplay label for this option.
Trait Implementations§
Source§impl Clone for TitledSingleSelectEnumSchemaOneOfItem
impl Clone for TitledSingleSelectEnumSchemaOneOfItem
Source§fn clone(&self) -> TitledSingleSelectEnumSchemaOneOfItem
fn clone(&self) -> TitledSingleSelectEnumSchemaOneOfItem
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<'de> Deserialize<'de> for TitledSingleSelectEnumSchemaOneOfItem
impl<'de> Deserialize<'de> for TitledSingleSelectEnumSchemaOneOfItem
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
Auto Trait Implementations§
impl Freeze for TitledSingleSelectEnumSchemaOneOfItem
impl RefUnwindSafe for TitledSingleSelectEnumSchemaOneOfItem
impl Send for TitledSingleSelectEnumSchemaOneOfItem
impl Sync for TitledSingleSelectEnumSchemaOneOfItem
impl Unpin for TitledSingleSelectEnumSchemaOneOfItem
impl UnwindSafe for TitledSingleSelectEnumSchemaOneOfItem
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