pub struct Log {
pub address: Address,
pub topics: Vec<Hash>,
pub data: Vec<u8>,
pub block_hash: Hash,
pub block_number: BigInt,
pub transaction_hash: Hash,
pub transaction_index: BigInt,
pub log_index: BigInt,
pub transaction_log_index: BigInt,
pub log_type: Option<String>,
pub removed: Option<bool>,
}
Expand description
An Ethereum log.
Fields§
§address: Address
§topics: Vec<Hash>
§data: Vec<u8>
§block_hash: Hash
§block_number: BigInt
§transaction_hash: Hash
§transaction_index: BigInt
§log_index: BigInt
§transaction_log_index: BigInt
§log_type: Option<String>
§removed: Option<bool>
Trait Implementations§
impl Eq for Log
impl StructuralEq 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.