Struct ethers_contract::LogMeta
source · pub struct LogMeta {
pub address: Address,
pub block_number: U64,
pub block_hash: H256,
pub transaction_hash: TxHash,
pub transaction_index: U64,
pub log_index: U256,
}
Expand description
Metadata inside a log
Fields§
§address: Address
Address from which this log originated
block_number: U64
The block in which the log was emitted
block_hash: H256
The block hash in which the log was emitted
transaction_hash: TxHash
The transaction hash in which the log was emitted
transaction_index: U64
Transactions index position log was created from
log_index: U256
Log index position in the block
Trait Implementations§
source§impl<'de> Deserialize<'de> for LogMeta
impl<'de> Deserialize<'de> for LogMeta
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 Eq for LogMeta
impl StructuralEq for LogMeta
impl StructuralPartialEq for LogMeta
Auto Trait Implementations§
impl RefUnwindSafe for LogMeta
impl Send for LogMeta
impl Sync for LogMeta
impl Unpin for LogMeta
impl UnwindSafe for LogMeta
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.