Struct common_types::log_entry::LocalizedLogEntry[][src]

pub struct LocalizedLogEntry {
    pub entry: LogEntry,
    pub block_hash: H256,
    pub block_number: BlockNumber,
    pub transaction_hash: H256,
    pub transaction_index: usize,
    pub log_index: usize,
    pub transaction_log_index: usize,
}

Log localized in a blockchain.

Fields

entry: LogEntry

Plain log entry.

block_hash: H256

Block in which this log was created.

block_number: BlockNumber

Block number.

transaction_hash: H256

Hash of transaction in which this log was created.

transaction_index: usize

Index of transaction within block.

log_index: usize

Log position in the block.

transaction_log_index: usize

Log position in the transaction.

Methods from Deref<Target = LogEntry>

pub fn bloom(&self) -> Bloom[src]

Calculates the bloom of this log entry.

Trait Implementations

impl Clone for LocalizedLogEntry[src]

impl Debug for LocalizedLogEntry[src]

impl Default for LocalizedLogEntry[src]

impl Deref for LocalizedLogEntry[src]

type Target = LogEntry

The resulting type after dereferencing.

impl PartialEq<LocalizedLogEntry> for LocalizedLogEntry[src]

impl StructuralPartialEq for LocalizedLogEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,