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<EthereumSendTransactionRpcInputParamsTransactionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSendTransactionRpcInputParamsTransactionType, <__D as Deserializer<'de>>::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,
) -> EthereumSendTransactionRpcInputParamsTransactionType
fn from( value: &EthereumSendTransactionRpcInputParamsTransactionType, ) -> EthereumSendTransactionRpcInputParamsTransactionType
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant0> for EthereumSendTransactionRpcInputParamsTransactionType
impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant0> for EthereumSendTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant0,
) -> EthereumSendTransactionRpcInputParamsTransactionType
fn from( value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant0, ) -> EthereumSendTransactionRpcInputParamsTransactionType
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant1> for EthereumSendTransactionRpcInputParamsTransactionType
impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant1> for EthereumSendTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant1,
) -> EthereumSendTransactionRpcInputParamsTransactionType
fn from( value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant1, ) -> EthereumSendTransactionRpcInputParamsTransactionType
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant2> for EthereumSendTransactionRpcInputParamsTransactionType
impl From<EthereumSendTransactionRpcInputParamsTransactionTypeVariant2> for EthereumSendTransactionRpcInputParamsTransactionType
Source§fn from(
value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant2,
) -> EthereumSendTransactionRpcInputParamsTransactionType
fn from( value: EthereumSendTransactionRpcInputParamsTransactionTypeVariant2, ) -> EthereumSendTransactionRpcInputParamsTransactionType
Converts to this type from the input type.
Source§impl Serialize for EthereumSendTransactionRpcInputParamsTransactionType
impl Serialize for EthereumSendTransactionRpcInputParamsTransactionType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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