Struct common_types::receipt::RichReceipt[][src]

pub struct RichReceipt {
    pub transaction_hash: H256,
    pub transaction_index: usize,
    pub cumulative_gas_used: U256,
    pub gas_used: U256,
    pub contract_address: Option<Address>,
    pub logs: Vec<LogEntry>,
    pub log_bloom: Bloom,
    pub outcome: TransactionOutcome,
    pub to: Option<H160>,
    pub from: H160,
}

Receipt with additional info.

Fields

transaction_hash: H256

Transaction hash.

transaction_index: usize

Transaction index.

cumulative_gas_used: U256

The total gas used in the block following execution of the transaction.

gas_used: U256

The gas used in the execution of the transaction. Note the difference of meaning to Receipt::gas_used.

contract_address: Option<Address>

Contract address. NOTE: It is an Option because only Action::Create transactions has a contract address

logs: Vec<LogEntry>

Logs

log_bloom: Bloom

Logs bloom

outcome: TransactionOutcome

Transaction outcome.

to: Option<H160>

Receiver address NOTE: It is an Option because only Action::Call transactions has a receiver address

from: H160

Sender

Trait Implementations

impl Clone for RichReceipt[src]

impl Debug for RichReceipt[src]

impl PartialEq<RichReceipt> for RichReceipt[src]

impl StructuralPartialEq for RichReceipt[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>,