pub struct EvmAbiEvent {
pub name: String,
pub name_snake_case: String,
pub signature: String,
pub selector_signature: String,
pub topic0: String,
}Expand description
Parsed event info extracted from a JSON ABI.
Fields§
§name: StringEvent name (e.g. “Swap”).
name_snake_case: StringEvent name in snake_case (e.g. “swap”).
signature: StringHuman-readable signature with names and indexed markers
(e.g. “Swap(address indexed sender, address indexed recipient, int256 amount0, …)”).
Can be passed directly to crate::decode_events.
selector_signature: StringCanonical selector signature without names (e.g. “Swap(address,address,int256,int256,uint160,uint128,int24)”).
topic0: Stringtopic0 as 0x-prefixed hex string.
Trait Implementations§
Source§impl Clone for EvmAbiEvent
impl Clone for EvmAbiEvent
Source§fn clone(&self) -> EvmAbiEvent
fn clone(&self) -> EvmAbiEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EvmAbiEvent
impl RefUnwindSafe for EvmAbiEvent
impl Send for EvmAbiEvent
impl Sync for EvmAbiEvent
impl Unpin for EvmAbiEvent
impl UnwindSafe for EvmAbiEvent
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