Struct ethers_core::abi::Event
source · [−]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
sourceimpl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Event, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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
sourceimpl EventExt for Event
impl EventExt for Event
sourcefn abi_signature(&self) -> String
fn abi_signature(&self) -> String
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
sourceimpl Serialize for Event
impl Serialize for Event
sourcefn 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 Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more