pub struct TypedReceiptEnvelope<'a> {
pub receipt_type: TransactionType,
pub payload: &'a [u8],
}Expand description
Borrowed EIP-2718 typed receipt shell.
Fields§
§receipt_type: TransactionTypeEIP-2718 receipt type byte.
payload: &'a [u8]Opaque receipt payload.
Trait Implementations§
Source§impl<'a> Clone for TypedReceiptEnvelope<'a>
impl<'a> Clone for TypedReceiptEnvelope<'a>
Source§fn clone(&self) -> TypedReceiptEnvelope<'a>
fn clone(&self) -> TypedReceiptEnvelope<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypedReceiptEnvelope<'a>
Source§impl<'a> Debug for TypedReceiptEnvelope<'a>
impl<'a> Debug for TypedReceiptEnvelope<'a>
impl<'a> Eq for TypedReceiptEnvelope<'a>
Source§impl<'a> PartialEq for TypedReceiptEnvelope<'a>
impl<'a> PartialEq for TypedReceiptEnvelope<'a>
Source§fn eq(&self, other: &TypedReceiptEnvelope<'a>) -> bool
fn eq(&self, other: &TypedReceiptEnvelope<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for TypedReceiptEnvelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypedReceiptEnvelope<'a>
impl<'a> RefUnwindSafe for TypedReceiptEnvelope<'a>
impl<'a> Send for TypedReceiptEnvelope<'a>
impl<'a> Sync for TypedReceiptEnvelope<'a>
impl<'a> Unpin for TypedReceiptEnvelope<'a>
impl<'a> UnsafeUnpin for TypedReceiptEnvelope<'a>
impl<'a> UnwindSafe for TypedReceiptEnvelope<'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