Struct cfx_rpc_eth_types::Log
source · pub struct Log {
pub address: H160,
pub topics: Vec<H256>,
pub data: Bytes,
pub block_hash: H256,
pub block_number: U256,
pub transaction_hash: H256,
pub transaction_index: U256,
pub log_index: Option<U256>,
pub transaction_log_index: Option<U256>,
pub removed: bool,
}
Expand description
Log
Fields§
§address: H160
H160
topics: Vec<H256>
Topics
data: Bytes
Data
block_hash: H256
Block Hash
block_number: U256
Block Number
transaction_hash: H256
Transaction Hash
transaction_index: U256
Transaction Index
log_index: Option<U256>
Log Index in Block
transaction_log_index: Option<U256>
Log Index in Transaction
removed: bool
Whether Log Type is Removed (Geth Compatibility Field)
Implementations§
Trait Implementations§
impl Eq for Log
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§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.