[−][src]Enum ethabi_decode::ParamKind
pub enum ParamKind {
Address,
Bytes,
Int(usize),
Uint(usize),
Bool,
String,
Array(Box<ParamKind>),
FixedBytes(usize),
FixedArray(Box<ParamKind>, usize),
Tuple(Vec<Box<ParamKind>>),
}Function and event param types.
Variants
Address.
Bytes.
Int(usize)Signed integer.
Uint(usize)Unsigned integer.
Boolean.
String.
Array of unknown size.
FixedBytes(usize)Vector of bytes with fixed size.
Array with fixed size.
Tuple containing different types
Implementations
impl ParamKind[src][−]
pub fn is_empty_bytes_valid_encoding(&self) -> bool[src][−]
returns whether a zero length byte slice (0x) is
a valid encoded form of this param type
pub fn is_dynamic(&self) -> bool[src][−]
returns whether a ParamKind is dynamic used to decide how the ParamKind should be encoded
Trait Implementations
impl Clone for ParamKind[src][+]
impl Debug for ParamKind[src][+]
impl PartialEq<ParamKind> for ParamKind[src][+]
impl StructuralPartialEq for ParamKind[src]
Auto Trait Implementations
impl RefUnwindSafe for ParamKind
impl Send for ParamKind
impl Sync for ParamKind
impl Unpin for ParamKind
impl UnwindSafe for ParamKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> From<T> for T[src][+]
impl<T, U> Into<U> for T where
U: From<T>, [src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src][+]
V: MultiLane<T>,