Enum ethereum::ReceiptAny
source · [−]pub enum ReceiptAny {
Frontier(FrontierReceiptData),
EIP658(EIP658ReceiptData),
EIP2930(EIP2930ReceiptData),
EIP1559(EIP1559ReceiptData),
}Variants
Frontier(FrontierReceiptData)
Frontier receipt type
EIP658(EIP658ReceiptData)
EIP658 receipt type
EIP2930(EIP2930ReceiptData)
EIP-2930 receipt type
EIP1559(EIP1559ReceiptData)
EIP-1559 receipt type
Trait Implementations
sourceimpl Clone for ReceiptAny
impl Clone for ReceiptAny
sourcefn clone(&self) -> ReceiptAny
fn clone(&self) -> ReceiptAny
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ReceiptAny
impl Debug for ReceiptAny
sourceimpl Decodable for ReceiptAny
impl Decodable for ReceiptAny
sourcefn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl Encodable for ReceiptAny
impl Encodable for ReceiptAny
sourceimpl PartialEq<ReceiptAny> for ReceiptAny
impl PartialEq<ReceiptAny> for ReceiptAny
sourcefn eq(&self, other: &ReceiptAny) -> bool
fn eq(&self, other: &ReceiptAny) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ReceiptAny) -> bool
fn ne(&self, other: &ReceiptAny) -> bool
This method tests for !=.
impl Eq for ReceiptAny
impl StructuralEq for ReceiptAny
impl StructuralPartialEq for ReceiptAny
Auto Trait Implementations
impl RefUnwindSafe for ReceiptAny
impl Send for ReceiptAny
impl Sync for ReceiptAny
impl Unpin for ReceiptAny
impl UnwindSafe for ReceiptAny
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more