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
source§impl PartialEq for LogMeta
impl PartialEq for LogMeta
impl Eq 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<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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.