pub enum EthereumSignTransactionRpcInputParamsTransactionType {
Variant0(EthereumSignTransactionRpcInputParamsTransactionTypeVariant0),
Variant1(EthereumSignTransactionRpcInputParamsTransactionTypeVariant1),
Variant2(EthereumSignTransactionRpcInputParamsTransactionTypeVariant2),
}Expand description
EthereumSignTransactionRpcInputParamsTransactionType
JSON schema
{
"oneOf": [
{
"type": "number",
"enum": [
0.0
]
},
{
"type": "number",
"enum": [
1.0
]
},
{
"type": "number",
"enum": [
2.0
]
}
]
}Variants§
Variant0(EthereumSignTransactionRpcInputParamsTransactionTypeVariant0)
Variant1(EthereumSignTransactionRpcInputParamsTransactionTypeVariant1)
Variant2(EthereumSignTransactionRpcInputParamsTransactionTypeVariant2)
Trait Implementations§
Source§impl Clone for EthereumSignTransactionRpcInputParamsTransactionType
impl Clone for EthereumSignTransactionRpcInputParamsTransactionType
Source§fn clone(&self) -> EthereumSignTransactionRpcInputParamsTransactionType
fn clone(&self) -> EthereumSignTransactionRpcInputParamsTransactionType
Returns a duplicate of the value. Read more
1.0.0 · 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 EthereumSignTransactionRpcInputParamsTransactionType
impl<'de> Deserialize<'de> for EthereumSignTransactionRpcInputParamsTransactionType
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<&EthereumSignTransactionRpcInputParamsTransactionType> for EthereumSignTransactionRpcInputParamsTransactionType
impl From<&EthereumSignTransactionRpcInputParamsTransactionType> for EthereumSignTransactionRpcInputParamsTransactionType
Source§fn from(value: &EthereumSignTransactionRpcInputParamsTransactionType) -> Self
fn from(value: &EthereumSignTransactionRpcInputParamsTransactionType) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant0> for EthereumSignTransactionRpcInputParamsTransactionType
impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant0> for EthereumSignTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant0,
) -> Self
fn from( value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant0, ) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant1> for EthereumSignTransactionRpcInputParamsTransactionType
impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant1> for EthereumSignTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant1,
) -> Self
fn from( value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant1, ) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant2> for EthereumSignTransactionRpcInputParamsTransactionType
impl From<EthereumSignTransactionRpcInputParamsTransactionTypeVariant2> for EthereumSignTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant2,
) -> Self
fn from( value: EthereumSignTransactionRpcInputParamsTransactionTypeVariant2, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSignTransactionRpcInputParamsTransactionType
impl RefUnwindSafe for EthereumSignTransactionRpcInputParamsTransactionType
impl Send for EthereumSignTransactionRpcInputParamsTransactionType
impl Sync for EthereumSignTransactionRpcInputParamsTransactionType
impl Unpin for EthereumSignTransactionRpcInputParamsTransactionType
impl UnwindSafe for EthereumSignTransactionRpcInputParamsTransactionType
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