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

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

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

Fields

Transaction hash.

Index within the block.

Hash of the block this transaction was included within.

Number of the block this transaction was included within.

Cumulative gas used within the block after this was executed.

Gas used by this transaction alone.

Contract address created, or None if not a deployment.

Logs generated within this transaction.

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

Trait Implementations

impl Debug for Receipt
[src]

Formats the value using the given formatter. Read more

impl Default for Receipt
[src]

Returns the "default value" for a type. Read more

impl Clone for Receipt
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Receipt
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations