#[non_exhaustive]pub enum MultiSelectItems {
Untitled(UntitledMultiSelectItems),
Titled(TitledMultiSelectItems),
}Available on crate feature
unstable_elicitation only.Expand description
Items for a multi-select (array) property schema.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Untitled(UntitledMultiSelectItems)
Untitled multi-select items with plain string values.
Titled(TitledMultiSelectItems)
Titled multi-select items with human-readable labels.
Trait Implementations§
Source§impl Clone for MultiSelectItems
impl Clone for MultiSelectItems
Source§fn clone(&self) -> MultiSelectItems
fn clone(&self) -> MultiSelectItems
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 Debug for MultiSelectItems
impl Debug for MultiSelectItems
Source§impl<'de> Deserialize<'de> for MultiSelectItems
impl<'de> Deserialize<'de> for MultiSelectItems
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
impl Eq for MultiSelectItems
Source§impl IntoV2 for MultiSelectItems
Available on crate feature unstable_protocol_v2 only.
impl IntoV2 for MultiSelectItems
Available on crate feature
unstable_protocol_v2 only.Source§impl JsonSchema for MultiSelectItems
impl JsonSchema for MultiSelectItems
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MultiSelectItems
impl PartialEq for MultiSelectItems
Source§fn eq(&self, other: &MultiSelectItems) -> bool
fn eq(&self, other: &MultiSelectItems) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MultiSelectItems
impl Serialize for MultiSelectItems
impl StructuralPartialEq for MultiSelectItems
Auto Trait Implementations§
impl Freeze for MultiSelectItems
impl RefUnwindSafe for MultiSelectItems
impl Send for MultiSelectItems
impl Sync for MultiSelectItems
impl Unpin for MultiSelectItems
impl UnsafeUnpin for MultiSelectItems
impl UnwindSafe for MultiSelectItems
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