pub struct EVMReceiptLog {
pub address: Address,
pub topics: Vec<B256>,
pub data: Bytes,
pub block_hash: Option<B256>,
pub block_number: Option<U64>,
pub transaction_hash: Option<B256>,
pub transaction_index: Option<Index>,
pub log_index: Option<U256>,
pub transaction_log_index: Option<U256>,
pub log_type: Option<String>,
pub removed: Option<bool>,
}
Expand description
Base Log struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
Fields§
§address: Address
H160
topics: Vec<B256>
Topics
data: Bytes
Data
block_hash: Option<B256>
Block Hash
block_number: Option<U64>
Block Number
transaction_hash: Option<B256>
Transaction Hash
transaction_index: Option<Index>
Transaction Index
log_index: Option<U256>
Log Index in Block
transaction_log_index: Option<U256>
Log Index in Transaction
log_type: Option<String>
Log Type
removed: Option<bool>
Removed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseLog
impl<'de> Deserialize<'de> for BaseLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BaseLog
Auto Trait Implementations§
impl !Freeze for BaseLog
impl RefUnwindSafe for BaseLog
impl Send for BaseLog
impl Sync for BaseLog
impl Unpin for BaseLog
impl UnwindSafe for BaseLog
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more