Struct common_types::receipt::Receipt [−][src]
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]
outcome: TransactionOutcome,
gas_used: U256,
logs: Vec<LogEntry>
) -> Self
Create a new receipt.
Trait Implementations
impl Clone for Receipt
[src]
impl Debug for Receipt
[src]
impl Decodable for Receipt
[src]
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
[src]
impl Encodable for Receipt
[src]
impl Eq for Receipt
[src]
impl MallocSizeOf for Receipt
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MallocSizeOfExt for T where
T: MallocSizeOf,
[src]
T: MallocSizeOf,
pub fn malloc_size_of(&self) -> usize
[src]
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,