Struct fathom_web3::types::Log
source · [−]pub struct Log {
pub address: H160,
pub topics: Vec<H256>,
pub data: Bytes,
pub block_hash: Option<H256>,
pub block_number: Option<U64>,
pub transaction_hash: Option<H256>,
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
A log produced by a transaction.
Fields
address: H160
H160
topics: Vec<H256>
Topics
data: Bytes
Data
block_hash: Option<H256>
Block Hash
block_number: Option<U64>
Block Number
transaction_hash: Option<H256>
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
Implementations
sourceimpl Log
impl Log
sourcepub fn is_removed(&self) -> bool
pub fn is_removed(&self) -> bool
Returns true if the log has been removed.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
sourcefn 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 Log
Auto Trait Implementations
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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