Struct ethcore::receipt::Receipt
[−]
[src]
pub struct Receipt { pub state_root: Option<H256>, pub gas_used: U256, pub log_bloom: H2048, pub logs: Vec<LogEntry>, }
Information describing execution of a transaction.
Fields
state_root: Option<H256>
The state root after executing the transaction. Optional since EIP98
gas_used: U256
The total gas used in the block following execution of the transaction.
log_bloom: H2048
The OR-wide combination of all logs' blooms for this transaction.
logs: Vec<LogEntry>
The logs stemming from this transaction.
Methods
impl Receipt
[src]
fn new(state_root: Option<H256>, gas_used: U256, logs: Vec<LogEntry>) -> Receipt
Create a new receipt.
Trait Implementations
impl Default for Receipt
[src]
impl Debug for Receipt
[src]
impl Clone for Receipt
[src]
fn clone(&self) -> Receipt
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Encodable for Receipt
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Receipt
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes
impl HeapSizeOf for Receipt
[src]
fn heap_size_of_children(&self) -> usize
Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of::