pub struct ActionParametersModel {
pub properties: Map<String, Value>,
pub title: String,
pub schema_type: String,
pub required: Option<Vec<String>>,
pub examples: Option<Vec<Value>>,
}Expand description
Action parameters/response model.
Fields§
§properties: Map<String, Value>Schema properties.
title: StringSchema title.
schema_type: StringSchema type.
required: Option<Vec<String>>Required fields.
examples: Option<Vec<Value>>Schema examples.
Trait Implementations§
Source§impl Clone for ActionParametersModel
impl Clone for ActionParametersModel
Source§fn clone(&self) -> ActionParametersModel
fn clone(&self) -> ActionParametersModel
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 ActionParametersModel
impl Debug for ActionParametersModel
Source§impl<'de> Deserialize<'de> for ActionParametersModel
impl<'de> Deserialize<'de> for ActionParametersModel
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 ActionParametersModel
impl RefUnwindSafe for ActionParametersModel
impl Send for ActionParametersModel
impl Sync for ActionParametersModel
impl Unpin for ActionParametersModel
impl UnsafeUnpin for ActionParametersModel
impl UnwindSafe for ActionParametersModel
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