[][src]Struct web3::types::TransactionReceipt

pub struct TransactionReceipt {
    pub transaction_hash: H256,
    pub transaction_index: Index,
    pub block_hash: Option<H256>,
    pub block_number: Option<U64>,
    pub cumulative_gas_used: U256,
    pub gas_used: Option<U256>,
    pub contract_address: Option<H160>,
    pub logs: Vec<Log>,
    pub status: Option<U64>,
    pub root: Option<H256>,
    pub logs_bloom: H2048,
}

"Receipt" of an executed transaction: details of its execution.

Fields

transaction_hash: H256

Transaction hash.

transaction_index: Index

Index within the block.

block_hash: Option<H256>

Hash of the block this transaction was included within.

block_number: Option<U64>

Number of the block this transaction was included within.

cumulative_gas_used: U256

Cumulative gas used within the block after this was executed.

gas_used: Option<U256>

Gas used by this transaction alone.

Gas used is None if the the client is running in light client mode.

contract_address: Option<H160>

Contract address created, or None if not a deployment.

logs: Vec<Log>

Logs generated within this transaction.

status: Option<U64>

Status: either 1 (success) or 0 (failure).

root: Option<H256>

State root.

logs_bloom: H2048

Logs bloom

Trait Implementations

impl Clone for Receipt[src]

impl Debug for Receipt[src]

impl Default for Receipt[src]

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

impl PartialEq<Receipt> for Receipt[src]

impl Serialize for Receipt[src]

impl StructuralPartialEq for Receipt[src]

Auto Trait Implementations

impl RefUnwindSafe for Receipt

impl Send for Receipt

impl Sync for Receipt

impl Unpin for Receipt

impl UnwindSafe for Receipt

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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>, 
[src]

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