pub struct UIElicitationArrayEnumField {
pub default: Option<Vec<String>>,
pub description: Option<String>,
pub items: UIElicitationArrayEnumFieldItems,
pub max_items: Option<i64>,
pub min_items: Option<i64>,
pub title: Option<String>,
pub type: UIElicitationArrayEnumFieldType,
}Expand description
Multi-select string field whose allowed values are defined inline.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§default: Option<Vec<String>>Default values selected when the form is first shown.
description: Option<String>Help text describing the field.
items: UIElicitationArrayEnumFieldItemsSchema applied to each item in the array.
max_items: Option<i64>Maximum number of items the user may select.
min_items: Option<i64>Minimum number of items the user must select.
title: Option<String>Human-readable label for the field.
type: UIElicitationArrayEnumFieldTypeType discriminator. Always “array”.
Trait Implementations§
Source§impl Clone for UIElicitationArrayEnumField
impl Clone for UIElicitationArrayEnumField
Source§fn clone(&self) -> UIElicitationArrayEnumField
fn clone(&self) -> UIElicitationArrayEnumField
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 UIElicitationArrayEnumField
impl Debug for UIElicitationArrayEnumField
Source§impl Default for UIElicitationArrayEnumField
impl Default for UIElicitationArrayEnumField
Source§fn default() -> UIElicitationArrayEnumField
fn default() -> UIElicitationArrayEnumField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UIElicitationArrayEnumField
impl<'de> Deserialize<'de> for UIElicitationArrayEnumField
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 UIElicitationArrayEnumField
impl RefUnwindSafe for UIElicitationArrayEnumField
impl Send for UIElicitationArrayEnumField
impl Sync for UIElicitationArrayEnumField
impl Unpin for UIElicitationArrayEnumField
impl UnsafeUnpin for UIElicitationArrayEnumField
impl UnwindSafe for UIElicitationArrayEnumField
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