pub struct InputParameter {
pub param_type: String,
pub description: Option<String>,
pub required: bool,
pub default: Option<Value>,
}Expand description
Input parameter definition
Fields§
§param_type: StringParameter type
description: Option<String>Description
required: boolWhether parameter is required
default: Option<Value>Default value
Trait Implementations§
Source§impl Clone for InputParameter
impl Clone for InputParameter
Source§fn clone(&self) -> InputParameter
fn clone(&self) -> InputParameter
Returns a duplicate of the value. Read more
1.0.0 · 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 InputParameter
impl Debug for InputParameter
Source§impl<'de> Deserialize<'de> for InputParameter
impl<'de> Deserialize<'de> for InputParameter
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 InputParameter
impl RefUnwindSafe for InputParameter
impl Send for InputParameter
impl Sync for InputParameter
impl Unpin for InputParameter
impl UnsafeUnpin for InputParameter
impl UnwindSafe for InputParameter
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