pub enum Param {
Show 14 variants
Int8,
Int16,
Int32,
Int64,
UInt8,
UInt16,
UInt32,
UInt64,
UInt256,
Bool,
Address,
Bytes,
String,
Unknown(String),
}
Expand description
The canonical type of the parameter.
Variants§
Int8
A 8-bit integer.
Int16
A 16-bit integer.
Int32
A 32-bit integer.
Int64
A 64-bit integer.
UInt8
A 8-bit unsigned integer.
UInt16
A 16-bit unsigned integer.
UInt32
A 32-bit unsigned integer.
UInt64
A 64-bit unsigned integer.
UInt256
A 256-bit unsigned integer.
Bool
A boolean type.
Address
An EVM address.
Bytes
A byte array.
String
A string type.
Unknown(String)
An unknown type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Param
impl<'de> Deserialize<'de> for Param
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 Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnwindSafe for Param
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