Struct ethers_core::abi::EventParam
source · pub struct EventParam {
pub name: String,
pub kind: ParamType,
pub indexed: bool,
}
Expand description
Event param specification.
Fields§
§name: String
Param name.
kind: ParamType
Param type.
indexed: bool
Indexed flag. If true, param is used to build block bloom.
Trait Implementations§
source§impl Clone for EventParam
impl Clone for EventParam
source§fn clone(&self) -> EventParam
fn clone(&self) -> EventParam
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventParam
impl Debug for EventParam
source§impl<'a> Deserialize<'a> for EventParam
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for EventParam
Available on crate feature
serde
only.source§fn deserialize<D>(
deserializer: D
) -> Result<EventParam, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D
) -> Result<EventParam, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EventParam
impl PartialEq for EventParam
source§fn eq(&self, other: &EventParam) -> bool
fn eq(&self, other: &EventParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventParam
Available on crate feature serde
only.
impl Serialize for EventParam
Available on crate feature
serde
only.source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EventParam
Auto Trait Implementations§
impl RefUnwindSafe for EventParam
impl Send for EventParam
impl Sync for EventParam
impl Unpin for EventParam
impl UnwindSafe for EventParam
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