Struct web3::types::Log [−][src]
pub struct Log { pub address: H160, pub topics: Vec<H256>, pub data: Bytes, pub block_hash: Option<H256>, pub block_number: Option<U256>, pub transaction_hash: Option<H256>, pub transaction_index: Option<U256>, pub log_index: Option<U256>, pub transaction_log_index: Option<U256>, pub log_type: Option<String>, pub removed: Option<bool>, }
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<U256>
Block Number
transaction_hash: Option<H256>
Transaction Hash
transaction_index: Option<U256>
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
Methods
impl Log
[src]
impl Log
pub fn is_removed(&self) -> bool
[src]
pub fn is_removed(&self) -> bool
Returns true if the log has been removed.
Trait Implementations
impl Debug for Log
[src]
impl Debug for Log
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Log
[src]
impl Clone for Log
fn clone(&self) -> Log
[src]
fn clone(&self) -> Log
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Log
[src]
impl PartialEq for Log