#[repr(i32)]pub enum ParameterType {
Null = 0,
Integer = 1,
Real = 2,
String = 3,
Boolean = 4,
Trigger = 5,
Enum = 6,
Octets = 7,
}Expand description
Parameter type enumeration.
Variants§
Null = 0
Null/unknown type
Integer = 1
Integer parameter
Real = 2
Real (floating point) parameter
String = 3
String parameter
Boolean = 4
Boolean parameter
Trigger = 5
Trigger (action) parameter
Enum = 6
Enumerated parameter
Octets = 7
Octet string (binary data)
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 Default for ParameterType
impl Default for ParameterType
Source§fn default() -> ParameterType
fn default() -> ParameterType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
Source§impl TryFrom<i64> for ParameterType
impl TryFrom<i64> for ParameterType
impl Copy for ParameterType
impl Eq for ParameterType
impl StructuralPartialEq for ParameterType
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnsafeUnpin 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