pub enum ParameterType {
String,
Number,
Boolean,
Array,
}Expand description
Parameter types for rule templates
Variants§
String
String parameter type
Number
Numeric parameter type
Boolean
Boolean parameter type
Array
Array parameter type
Trait Implementations§
Source§impl Clone for ParameterType
impl Clone for ParameterType
Source§fn clone(&self) -> ParameterType
fn clone(&self) -> ParameterType
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 ParameterType
impl Debug for ParameterType
Source§impl<'de> Deserialize<'de> for ParameterType
impl<'de> Deserialize<'de> for ParameterType
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 ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnwindSafe for ParameterType
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