#[non_exhaustive]pub enum LegacyTransactionField {
Nonce,
GasPrice,
GasLimit,
To,
Value,
Input,
V,
R,
S,
}Expand description
Legacy transaction field identifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Nonce
nonce.
GasPrice
gas_price.
GasLimit
gas_limit.
To
to.
Value
value.
Input
input.
V
v.
R
r.
S
s.
Trait Implementations§
Source§impl Clone for LegacyTransactionField
impl Clone for LegacyTransactionField
Source§fn clone(&self) -> LegacyTransactionField
fn clone(&self) -> LegacyTransactionField
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 Copy for LegacyTransactionField
Source§impl Debug for LegacyTransactionField
impl Debug for LegacyTransactionField
impl Eq for LegacyTransactionField
Source§impl PartialEq for LegacyTransactionField
impl PartialEq for LegacyTransactionField
Source§fn eq(&self, other: &LegacyTransactionField) -> bool
fn eq(&self, other: &LegacyTransactionField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LegacyTransactionField
Auto Trait Implementations§
impl Freeze for LegacyTransactionField
impl RefUnwindSafe for LegacyTransactionField
impl Send for LegacyTransactionField
impl Sync for LegacyTransactionField
impl Unpin for LegacyTransactionField
impl UnsafeUnpin for LegacyTransactionField
impl UnwindSafe for LegacyTransactionField
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