[−][src]Enum ethabi::ParamType
Function and event param types.
Variants
Address
Address.
Bytes
Bytes.
Int(usize)
Signed integer.
Uint(usize)
Unsigned integer.
Bool
Boolean.
String
String.
Array(Box<ParamType>)
Array of unknown size.
FixedBytes(usize)
Vector of bytes with fixed size.
FixedArray(Box<ParamType>, usize)
Array with fixed size.
Methods
impl ParamType
[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 this param type is dynamic
Trait Implementations
impl Clone for ParamType
[src]
fn clone(&self) -> ParamType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ParamType> for ParamType
[src]
impl Display for ParamType
[src]
impl Debug for ParamType
[src]
impl<'a> Deserialize<'a> for ParamType
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]
D: Deserializer<'a>,
Auto Trait Implementations
impl Sync for ParamType
impl Send for ParamType
impl Unpin for ParamType
impl RefUnwindSafe for ParamType
impl UnwindSafe for ParamType
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,