#[repr(C)]pub enum ParameterType {
Int = 0,
UInt = 1,
Long = 2,
ULong = 3,
Float = 4,
Double = 5,
String = 6,
Bool = 7,
VecBytes = 8,
}Expand description
Re-export for ParameterType enum
Supported parameter types for function calling.
Variants§
Int = 0
i32
UInt = 1
u32
Long = 2
i64
ULong = 3
u64
Float = 4
f32
Double = 5
f64
String = 6
String
Bool = 7
bool
VecBytes = 8
Vec<u8>
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 From<&ParameterValue> for ParameterType
impl From<&ParameterValue> for ParameterType
Source§fn from(value: &ParameterValue) -> ParameterType
fn from(value: &ParameterValue) -> ParameterType
Converts to this type from the input type.
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
Source§impl TryFrom<ParameterType> for ParameterType
impl TryFrom<ParameterType> 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