pub struct ElicitationRequestedSchema {
pub properties: HashMap<String, Value>,
pub required: Vec<String>,
pub type: ElicitationRequestedSchemaType,
}Expand description
JSON Schema describing the form fields to present to the user (form mode only)
Fields§
§properties: HashMap<String, Value>Form field definitions, keyed by field name
required: Vec<String>List of required field names
type: ElicitationRequestedSchemaTypeSchema type indicator (always ‘object’)
Trait Implementations§
Source§impl Clone for ElicitationRequestedSchema
impl Clone for ElicitationRequestedSchema
Source§fn clone(&self) -> ElicitationRequestedSchema
fn clone(&self) -> ElicitationRequestedSchema
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 ElicitationRequestedSchema
impl Debug for ElicitationRequestedSchema
Source§impl<'de> Deserialize<'de> for ElicitationRequestedSchema
impl<'de> Deserialize<'de> for ElicitationRequestedSchema
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 ElicitationRequestedSchema
impl RefUnwindSafe for ElicitationRequestedSchema
impl Send for ElicitationRequestedSchema
impl Sync for ElicitationRequestedSchema
impl Unpin for ElicitationRequestedSchema
impl UnsafeUnpin for ElicitationRequestedSchema
impl UnwindSafe for ElicitationRequestedSchema
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