Struct primitives::receipt::BlockReceipts
source · pub struct BlockReceipts {
pub receipts: Vec<Receipt>,
pub block_number: u64,
pub secondary_reward: U256,
pub tx_execution_error_messages: Vec<String>,
}
Expand description
Information describing execution of a block.
Fields§
§receipts: Vec<Receipt>
This is the receipts of transaction execution in this block.
block_number: u64
§secondary_reward: U256
This is the amount of secondary reward this block.
tx_execution_error_messages: Vec<String>
The error messages for each transaction. A successful transaction has empty error_messages.
Trait Implementations§
source§impl Clone for BlockReceipts
impl Clone for BlockReceipts
source§fn clone(&self) -> BlockReceipts
fn clone(&self) -> BlockReceipts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockReceipts
impl Debug for BlockReceipts
source§impl Decodable for BlockReceipts
impl Decodable for BlockReceipts
source§impl Encodable for BlockReceipts
impl Encodable for BlockReceipts
source§impl MallocSizeOf for BlockReceipts
impl MallocSizeOf for BlockReceipts
source§impl PartialEq for BlockReceipts
impl PartialEq for BlockReceipts
source§fn eq(&self, other: &BlockReceipts) -> bool
fn eq(&self, other: &BlockReceipts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlockReceipts
impl StructuralPartialEq for BlockReceipts
Auto Trait Implementations§
impl RefUnwindSafe for BlockReceipts
impl Send for BlockReceipts
impl Sync for BlockReceipts
impl Unpin for BlockReceipts
impl UnwindSafe for BlockReceipts
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more