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: AddressAddress from which this log originated
block_number: U64The block in which the log was emitted
block_hash: H256The block hash in which the log was emitted
transaction_hash: TxHashThe transaction hash in which the log was emitted
transaction_index: U64Transactions index position log was created from
log_index: U256Log 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<LogMeta> for LogMeta
impl PartialEq<LogMeta> for LogMeta
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<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 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.