pub struct UIElicitationSchemaPropertyString {
pub default: Option<String>,
pub description: Option<String>,
pub format: Option<UIElicitationSchemaPropertyStringFormat>,
pub max_length: Option<i64>,
pub min_length: Option<i64>,
pub title: Option<String>,
pub type: UIElicitationSchemaPropertyStringType,
}Expand description
Free-text string field with optional length and format constraints.
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<String>Default value populated in the input when the form is first shown.
description: Option<String>Help text describing the field.
format: Option<UIElicitationSchemaPropertyStringFormat>Optional format hint that constrains the accepted input.
max_length: Option<i64>Maximum number of characters allowed.
min_length: Option<i64>Minimum number of characters required.
title: Option<String>Human-readable label for the field.
type: UIElicitationSchemaPropertyStringTypeType discriminator. Always “string”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UIElicitationSchemaPropertyString
impl<'de> Deserialize<'de> for UIElicitationSchemaPropertyString
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 UIElicitationSchemaPropertyString
impl RefUnwindSafe for UIElicitationSchemaPropertyString
impl Send for UIElicitationSchemaPropertyString
impl Sync for UIElicitationSchemaPropertyString
impl Unpin for UIElicitationSchemaPropertyString
impl UnsafeUnpin for UIElicitationSchemaPropertyString
impl UnwindSafe for UIElicitationSchemaPropertyString
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