[−][src]Enum ethers_core::abi::ParamType
This is supported on
feature="abi"
only.Function and event param types.
Variants
This is supported on
feature="abi"
only.Address.
This is supported on
feature="abi"
only.Bytes.
Int(usize)
This is supported on
feature="abi"
only.Signed integer.
Uint(usize)
This is supported on
feature="abi"
only.Unsigned integer.
This is supported on
feature="abi"
only.Boolean.
This is supported on
feature="abi"
only.String.
This is supported on
feature="abi"
only.Array of unknown size.
FixedBytes(usize)
This is supported on
feature="abi"
only.Vector of bytes with fixed size.
This is supported on
feature="abi"
only.Array with fixed size.
This is supported on
feature="abi"
only.Tuple containing different types
Implementations
impl ParamType
[src]
pub fn is_empty_bytes_valid_encoding(&self) -> bool
[src]
This is supported on
feature="abi"
only.returns whether a zero length byte slice (0x
) is
a valid encoded form of this param type
pub fn is_dynamic(&self) -> bool
[src]
This is supported on
feature="abi"
only.returns whether a ParamType is dynamic used to decide how the ParamType should be encoded
Trait Implementations
impl Clone for ParamType
[src]
impl Debug for ParamType
[src]
impl<'a> Deserialize<'a> for ParamType
[src]
fn deserialize<D>(
deserializer: D
) -> Result<ParamType, <D as Deserializer<'a>>::Error> where
D: Deserializer<'a>,
[src]
deserializer: D
) -> Result<ParamType, <D as Deserializer<'a>>::Error> where
D: Deserializer<'a>,
impl Display for ParamType
[src]
impl PartialEq<ParamType> for ParamType
[src]
impl Serialize for ParamType
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for ParamType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnwindSafe for ParamType
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,