[][src]Struct web3::types::Log

pub struct Log {
    pub address: H160,
    pub topics: Vec<H256>,
    pub data: Bytes,
    pub block_hash: Option<H256>,
    pub block_number: Option<U64>,
    pub transaction_hash: Option<H256>,
    pub transaction_index: Option<Index>,
    pub log_index: Option<U256>,
    pub transaction_log_index: Option<U256>,
    pub log_type: Option<String>,
    pub removed: Option<bool>,

A log produced by a transaction.


address: H160


topics: Vec<H256>


data: Bytes


block_hash: Option<H256>

Block Hash

block_number: Option<U64>

Block Number

transaction_hash: Option<H256>

Transaction Hash

transaction_index: Option<Index>

Transaction Index

log_index: Option<U256>

Log Index in Block

transaction_log_index: Option<U256>

Log Index in Transaction

log_type: Option<String>

Log Type

removed: Option<bool>



impl Log[src]

pub fn is_removed(&self) -> bool[src]

Returns true if the log has been removed.

Trait Implementations

impl Clone for Log[src]

impl Debug for Log[src]

impl<'de> Deserialize<'de> for Log[src]

impl PartialEq<Log> for Log[src]

impl Serialize for Log[src]

impl StructuralPartialEq for Log[src]

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,