Struct ethers_core::abi::Event [−][src]
pub struct Event { pub name: String, pub inputs: Vec<EventParam, Global>, pub anonymous: bool, }
Expand description
Contract event.
Fields
name: String
Event name.
inputs: Vec<EventParam, Global>
Event input.
anonymous: bool
If anonymous, event cannot be found using from
filter.
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Event, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Event, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Compute the event signature in human-readable format. The keccak256
hash of this value is the actual event signature that is used as topic0
in the transaction logs. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self