pub enum ParamType {
Address,
Bytes,
Uint(usize),
Int(usize),
String,
FixedBytes(usize),
}
Expand description
Function and event param types.
Variants§
Address
Address
Bytes
Bytes
Uint(usize)
Unsigned integer
Int(usize)
Signed integer
String
String
FixedBytes(usize)
Vector of bytes with fixed size
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamType
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnwindSafe for ParamType
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