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: H256
Transaction hash.
transaction_index: Index
Index within the block.
block_hash: H256
Hash of the block this transaction was included within.
block_number: U256
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: U256
Gas used by this transaction alone.
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).
Trait Implementations
impl Debug for Receipt
[src]
impl Debug for Receipt
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Receipt
[src]
impl Default for Receipt
impl Clone for Receipt
[src]
impl Clone for Receipt
fn clone(&self) -> Receipt
[src]
fn clone(&self) -> Receipt
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Receipt
[src]
impl PartialEq for Receipt
Auto Trait Implementations
impl Send for TransactionReceipt
impl Send for TransactionReceipt
impl Sync for TransactionReceipt
impl Sync for TransactionReceipt