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,
}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.
logs: Vec<LogEntry>
Logs
log_bloom: Bloom
Logs bloom
outcome: TransactionOutcome
Transaction outcome.
Trait Implementations
impl Debug for RichReceipt[src]
impl Debug for RichReceiptfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for RichReceipt[src]
impl Clone for RichReceiptfn clone(&self) -> RichReceipt[src]
fn clone(&self) -> RichReceiptReturns 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 RichReceipt[src]
impl PartialEq for RichReceiptfn eq(&self, other: &RichReceipt) -> bool[src]
fn eq(&self, other: &RichReceipt) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RichReceipt) -> bool[src]
fn ne(&self, other: &RichReceipt) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for RichReceipt
impl Send for RichReceiptimpl Sync for RichReceipt
impl Sync for RichReceipt