pub enum UnsignedStandardEthereumTransactionType {
Variant0(UnsignedStandardEthereumTransactionTypeVariant0),
Variant1(UnsignedStandardEthereumTransactionTypeVariant1),
Variant2(UnsignedStandardEthereumTransactionTypeVariant2),
Variant3(UnsignedStandardEthereumTransactionTypeVariant3),
}Expand description
UnsignedStandardEthereumTransactionType
JSON schema
{
"oneOf": [
{
"type": "number",
"enum": [
0.0
]
},
{
"type": "number",
"enum": [
1.0
]
},
{
"type": "number",
"enum": [
2.0
]
},
{
"type": "number",
"enum": [
4.0
]
}
]
}Variants§
Variant0(UnsignedStandardEthereumTransactionTypeVariant0)
Variant1(UnsignedStandardEthereumTransactionTypeVariant1)
Variant2(UnsignedStandardEthereumTransactionTypeVariant2)
Variant3(UnsignedStandardEthereumTransactionTypeVariant3)
Trait Implementations§
Source§impl Clone for UnsignedStandardEthereumTransactionType
impl Clone for UnsignedStandardEthereumTransactionType
Source§fn clone(&self) -> UnsignedStandardEthereumTransactionType
fn clone(&self) -> UnsignedStandardEthereumTransactionType
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 moreSource§impl<'de> Deserialize<'de> for UnsignedStandardEthereumTransactionType
impl<'de> Deserialize<'de> for UnsignedStandardEthereumTransactionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UnsignedStandardEthereumTransactionType> for UnsignedStandardEthereumTransactionType
impl From<&UnsignedStandardEthereumTransactionType> for UnsignedStandardEthereumTransactionType
Source§fn from(value: &UnsignedStandardEthereumTransactionType) -> Self
fn from(value: &UnsignedStandardEthereumTransactionType) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedStandardEthereumTransactionTypeVariant0> for UnsignedStandardEthereumTransactionType
impl From<UnsignedStandardEthereumTransactionTypeVariant0> for UnsignedStandardEthereumTransactionType
Source§fn from(value: UnsignedStandardEthereumTransactionTypeVariant0) -> Self
fn from(value: UnsignedStandardEthereumTransactionTypeVariant0) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedStandardEthereumTransactionTypeVariant1> for UnsignedStandardEthereumTransactionType
impl From<UnsignedStandardEthereumTransactionTypeVariant1> for UnsignedStandardEthereumTransactionType
Source§fn from(value: UnsignedStandardEthereumTransactionTypeVariant1) -> Self
fn from(value: UnsignedStandardEthereumTransactionTypeVariant1) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedStandardEthereumTransactionTypeVariant2> for UnsignedStandardEthereumTransactionType
impl From<UnsignedStandardEthereumTransactionTypeVariant2> for UnsignedStandardEthereumTransactionType
Source§fn from(value: UnsignedStandardEthereumTransactionTypeVariant2) -> Self
fn from(value: UnsignedStandardEthereumTransactionTypeVariant2) -> Self
Converts to this type from the input type.
Source§impl From<UnsignedStandardEthereumTransactionTypeVariant3> for UnsignedStandardEthereumTransactionType
impl From<UnsignedStandardEthereumTransactionTypeVariant3> for UnsignedStandardEthereumTransactionType
Source§fn from(value: UnsignedStandardEthereumTransactionTypeVariant3) -> Self
fn from(value: UnsignedStandardEthereumTransactionTypeVariant3) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnsignedStandardEthereumTransactionType
impl RefUnwindSafe for UnsignedStandardEthereumTransactionType
impl Send for UnsignedStandardEthereumTransactionType
impl Sync for UnsignedStandardEthereumTransactionType
impl Unpin for UnsignedStandardEthereumTransactionType
impl UnsafeUnpin for UnsignedStandardEthereumTransactionType
impl UnwindSafe for UnsignedStandardEthereumTransactionType
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