pub struct UIElicitationSchemaPropertyNumber {
pub default: Option<f64>,
pub description: Option<String>,
pub maximum: Option<f64>,
pub minimum: Option<f64>,
pub title: Option<String>,
pub type: UIElicitationSchemaPropertyNumberType,
}Expand description
Numeric field accepting either a number or an integer.
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<f64>Default value populated in the input when the form is first shown.
description: Option<String>Help text describing the field.
maximum: Option<f64>Maximum allowed value (inclusive).
minimum: Option<f64>Minimum allowed value (inclusive).
title: Option<String>Human-readable label for the field.
type: UIElicitationSchemaPropertyNumberTypeNumeric type accepted by the field.
Trait Implementations§
Source§impl Clone for UIElicitationSchemaPropertyNumber
impl Clone for UIElicitationSchemaPropertyNumber
Source§fn clone(&self) -> UIElicitationSchemaPropertyNumber
fn clone(&self) -> UIElicitationSchemaPropertyNumber
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 Default for UIElicitationSchemaPropertyNumber
impl Default for UIElicitationSchemaPropertyNumber
Source§fn default() -> UIElicitationSchemaPropertyNumber
fn default() -> UIElicitationSchemaPropertyNumber
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UIElicitationSchemaPropertyNumber
impl<'de> Deserialize<'de> for UIElicitationSchemaPropertyNumber
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 UIElicitationSchemaPropertyNumber
impl RefUnwindSafe for UIElicitationSchemaPropertyNumber
impl Send for UIElicitationSchemaPropertyNumber
impl Sync for UIElicitationSchemaPropertyNumber
impl Unpin for UIElicitationSchemaPropertyNumber
impl UnsafeUnpin for UIElicitationSchemaPropertyNumber
impl UnwindSafe for UIElicitationSchemaPropertyNumber
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