Enum ethabi::param_type::ParamType [−][src]
pub enum ParamType {
Address,
Bytes,
Int(usize),
Uint(usize),
Bool,
String,
Array(Box<ParamType>),
FixedBytes(usize),
FixedArray(Box<ParamType>, usize),
}Function and event param types.
Variants
AddressAddress.
BytesBytes.
Int(usize)Signed integer.
Uint(usize)Unisgned integer.
BoolBoolean.
StringString.
Array(Box<ParamType>)Array of unknown size.
FixedBytes(usize)Vector of bytes with fixed size.
FixedArray(Box<ParamType>, usize)Array with fixed size.
Trait Implementations
impl<'a> Deserialize<'a> for ParamType[src]
impl<'a> Deserialize<'a> for ParamTypefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>, Deserialize this value from the given Serde deserializer. Read more
impl Debug for ParamType[src]
impl Debug for ParamTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ParamType[src]
impl Clone for ParamTypefn clone(&self) -> ParamType[src]
fn clone(&self) -> ParamTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ParamType[src]
impl PartialEq for ParamTypefn eq(&self, other: &ParamType) -> bool[src]
fn eq(&self, other: &ParamType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ParamType) -> bool[src]
fn ne(&self, other: &ParamType) -> boolThis method tests for !=.
impl Display for ParamType[src]
impl Display for ParamType