pub struct UIElicitationArrayAnyOfField {
pub default: Option<Vec<String>>,
pub description: Option<String>,
pub items: UIElicitationArrayAnyOfFieldItems,
pub max_items: Option<i64>,
pub min_items: Option<i64>,
pub title: Option<String>,
pub type: UIElicitationArrayAnyOfFieldType,
}Expand description
Multi-select string field where each option pairs a value with a display label.
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: UIElicitationArrayAnyOfFieldItemsSchema 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: UIElicitationArrayAnyOfFieldTypeType discriminator. Always “array”.
Trait Implementations§
Source§impl Clone for UIElicitationArrayAnyOfField
impl Clone for UIElicitationArrayAnyOfField
Source§fn clone(&self) -> UIElicitationArrayAnyOfField
fn clone(&self) -> UIElicitationArrayAnyOfField
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 UIElicitationArrayAnyOfField
impl Debug for UIElicitationArrayAnyOfField
Source§impl Default for UIElicitationArrayAnyOfField
impl Default for UIElicitationArrayAnyOfField
Source§fn default() -> UIElicitationArrayAnyOfField
fn default() -> UIElicitationArrayAnyOfField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UIElicitationArrayAnyOfField
impl<'de> Deserialize<'de> for UIElicitationArrayAnyOfField
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 UIElicitationArrayAnyOfField
impl RefUnwindSafe for UIElicitationArrayAnyOfField
impl Send for UIElicitationArrayAnyOfField
impl Sync for UIElicitationArrayAnyOfField
impl Unpin for UIElicitationArrayAnyOfField
impl UnsafeUnpin for UIElicitationArrayAnyOfField
impl UnwindSafe for UIElicitationArrayAnyOfField
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