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