pub enum ParameterKind {
Bool,
Integer,
Double,
String,
ByteArray,
BoolArray,
IntegerArray,
DoubleArray,
StringArray,
Dynamic,
}
Expand description
Describes the parameter’s type. Similar to ParameterValue
but also includes a Dynamic
variant for dynamic parameters.
Variants§
Bool
A boolean parameter.
Integer
An i64 value.
Double
An f64 value.
String
A string.
ByteArray
An array of u8.
BoolArray
An array of booleans.
IntegerArray
An array of i64.
DoubleArray
An array of f64.
StringArray
An array of strings.
Dynamic
A dynamic parameter that can change its type at runtime.
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
Returns a copy 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 ParameterKind
impl Debug for ParameterKind
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
impl StructuralPartialEq for ParameterKind
Auto Trait Implementations§
impl Freeze for ParameterKind
impl RefUnwindSafe for ParameterKind
impl Send for ParameterKind
impl Sync for ParameterKind
impl Unpin for ParameterKind
impl UnwindSafe for ParameterKind
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