pub struct ReceiptView<'a> {
pub transaction: &'a TransactionTrace,
pub receipt: &'a TransactionReceipt,
}
Fields§
§transaction: &'a TransactionTrace
§receipt: &'a TransactionReceipt
Implementations§
Source§impl<'a> ReceiptView<'a>
impl<'a> ReceiptView<'a>
pub fn state_root(self) -> &'a [u8] ⓘ
pub fn cumulative_gas_used(self) -> u64
pub fn logs_bloom(self) -> &'a [u8] ⓘ
pub fn logs(self) -> impl Iterator<Item = LogView<'a>>
Trait Implementations§
Source§impl<'a> Clone for ReceiptView<'a>
impl<'a> Clone for ReceiptView<'a>
Source§fn clone(&self) -> ReceiptView<'a>
fn clone(&self) -> ReceiptView<'a>
Returns a duplicate 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 moreimpl<'a> Copy for ReceiptView<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReceiptView<'a>
impl<'a> RefUnwindSafe for ReceiptView<'a>
impl<'a> Send for ReceiptView<'a>
impl<'a> Sync for ReceiptView<'a>
impl<'a> Unpin for ReceiptView<'a>
impl<'a> UnwindSafe for ReceiptView<'a>
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