Struct common_types::receipt::LocalizedReceipt [−][src]
pub struct LocalizedReceipt {
pub transaction_hash: H256,
pub transaction_index: usize,
pub block_hash: H256,
pub block_number: BlockNumber,
pub cumulative_gas_used: U256,
pub gas_used: U256,
pub contract_address: Option<Address>,
pub logs: Vec<LocalizedLogEntry>,
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.
block_hash: H256
Block hash.
block_number: BlockNumber
Block number.
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<LocalizedLogEntry>
Logs
log_bloom: Bloom
Logs bloom
outcome: TransactionOutcome
Transaction outcome.
to: Option<H160>
Receiver address
from: H160
Sender
Trait Implementations
impl Debug for LocalizedReceipt[src]
impl Debug for LocalizedReceiptfn 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 LocalizedReceipt[src]
impl Clone for LocalizedReceiptfn clone(&self) -> LocalizedReceipt[src]
fn clone(&self) -> LocalizedReceiptReturns 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 LocalizedReceipt[src]
impl PartialEq for LocalizedReceiptfn eq(&self, other: &LocalizedReceipt) -> bool[src]
fn eq(&self, other: &LocalizedReceipt) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LocalizedReceipt) -> bool[src]
fn ne(&self, other: &LocalizedReceipt) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for LocalizedReceipt
impl Send for LocalizedReceiptimpl Sync for LocalizedReceipt
impl Sync for LocalizedReceipt