pub struct ActionParameter {
pub key: Option<String>,
pub required: Option<bool>,
pub value: Option<String>,
pub parameter_type: Option<ParameterType>,
pub description: Option<String>,
pub options: Option<HashMap<String, String>>,
}Fields§
§key: Option<String>§required: Option<bool>§value: Option<String>§parameter_type: Option<ParameterType>§description: Option<String>§options: Option<HashMap<String, String>>Implementations§
Source§impl ActionParameter
impl ActionParameter
pub fn new() -> ActionParameter
Trait Implementations§
Source§impl Clone for ActionParameter
impl Clone for ActionParameter
Source§fn clone(&self) -> ActionParameter
fn clone(&self) -> ActionParameter
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 ActionParameter
impl Debug for ActionParameter
Source§impl Default for ActionParameter
impl Default for ActionParameter
Source§fn default() -> ActionParameter
fn default() -> ActionParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionParameter
impl<'de> Deserialize<'de> for ActionParameter
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
Source§impl PartialEq for ActionParameter
impl PartialEq for ActionParameter
Source§impl Serialize for ActionParameter
impl Serialize for ActionParameter
impl StructuralPartialEq for ActionParameter
Auto Trait Implementations§
impl Freeze for ActionParameter
impl RefUnwindSafe for ActionParameter
impl Send for ActionParameter
impl Sync for ActionParameter
impl Unpin for ActionParameter
impl UnwindSafe for ActionParameter
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