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