Struct common_types::receipt::Receipt[][src]

pub struct Receipt {
    pub gas_used: U256,
    pub log_bloom: Bloom,
    pub logs: Vec<LogEntry>,
    pub outcome: TransactionOutcome,
}

Information describing execution of a transaction.

Fields

gas_used: U256

The total gas used in the block following execution of the transaction.

log_bloom: Bloom

The OR-wide combination of all logs’ blooms for this transaction.

logs: Vec<LogEntry>

The logs stemming from this transaction.

outcome: TransactionOutcome

Transaction outcome.

Implementations

impl Receipt[src]

pub fn new(
    outcome: TransactionOutcome,
    gas_used: U256,
    logs: Vec<LogEntry>
) -> Self
[src]

Create a new receipt.

Trait Implementations

impl Clone for Receipt[src]

impl Debug for Receipt[src]

impl Decodable for Receipt[src]

impl Encodable for Receipt[src]

impl Eq for Receipt[src]

impl MallocSizeOf for Receipt[src]

impl PartialEq<Receipt> for Receipt[src]

impl StructuralEq for Receipt[src]

impl StructuralPartialEq for Receipt[src]

Auto Trait Implementations

impl RefUnwindSafe for Receipt

impl Send for Receipt

impl Sync for Receipt

impl Unpin for Receipt

impl UnwindSafe for Receipt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MallocSizeOfExt for T where
    T: MallocSizeOf
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,