pub struct TypedTransactionEnvelope<'a> {
pub transaction_type: TransactionType,
pub payload: &'a [u8],
}Expand description
Borrowed EIP-2718 typed transaction shell.
Fields§
§transaction_type: TransactionTypeEIP-2718 transaction type byte.
payload: &'a [u8]Opaque transaction payload. Later milestones decode this by type.
Trait Implementations§
Source§impl<'a> Clone for TypedTransactionEnvelope<'a>
impl<'a> Clone for TypedTransactionEnvelope<'a>
Source§fn clone(&self) -> TypedTransactionEnvelope<'a>
fn clone(&self) -> TypedTransactionEnvelope<'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 TypedTransactionEnvelope<'a>
Source§impl<'a> Debug for TypedTransactionEnvelope<'a>
impl<'a> Debug for TypedTransactionEnvelope<'a>
impl<'a> Eq for TypedTransactionEnvelope<'a>
Source§impl<'a> PartialEq for TypedTransactionEnvelope<'a>
impl<'a> PartialEq for TypedTransactionEnvelope<'a>
Source§fn eq(&self, other: &TypedTransactionEnvelope<'a>) -> bool
fn eq(&self, other: &TypedTransactionEnvelope<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for TypedTransactionEnvelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypedTransactionEnvelope<'a>
impl<'a> RefUnwindSafe for TypedTransactionEnvelope<'a>
impl<'a> Send for TypedTransactionEnvelope<'a>
impl<'a> Sync for TypedTransactionEnvelope<'a>
impl<'a> Unpin for TypedTransactionEnvelope<'a>
impl<'a> UnsafeUnpin for TypedTransactionEnvelope<'a>
impl<'a> UnwindSafe for TypedTransactionEnvelope<'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