pub struct EthereumSendTransactionRpcInputParamsTransaction {
pub chain_id: Option<EthereumSendTransactionRpcInputParamsTransactionChainId>,
pub data: Option<String>,
pub from: Option<String>,
pub gas_limit: Option<EthereumSendTransactionRpcInputParamsTransactionGasLimit>,
pub gas_price: Option<EthereumSendTransactionRpcInputParamsTransactionGasPrice>,
pub max_fee_per_gas: Option<EthereumSendTransactionRpcInputParamsTransactionMaxFeePerGas>,
pub max_priority_fee_per_gas: Option<EthereumSendTransactionRpcInputParamsTransactionMaxPriorityFeePerGas>,
pub nonce: Option<EthereumSendTransactionRpcInputParamsTransactionNonce>,
pub to: Option<String>,
pub type_: Option<EthereumSendTransactionRpcInputParamsTransactionType>,
pub value: Option<EthereumSendTransactionRpcInputParamsTransactionValue>,
}Expand description
EthereumSendTransactionRpcInputParamsTransaction
JSON schema
{
"type": "object",
"properties": {
"chain_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"data": {
"type": "string"
},
"from": {
"type": "string"
},
"gas_limit": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"gas_price": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"max_fee_per_gas": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"max_priority_fee_per_gas": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"nonce": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"to": {
"type": "string"
},
"type": {
"oneOf": [
{
"type": "number",
"enum": [
0.0
]
},
{
"type": "number",
"enum": [
1.0
]
},
{
"type": "number",
"enum": [
2.0
]
}
]
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
}
}
}Fields§
§chain_id: Option<EthereumSendTransactionRpcInputParamsTransactionChainId>§data: Option<String>§from: Option<String>§gas_limit: Option<EthereumSendTransactionRpcInputParamsTransactionGasLimit>§gas_price: Option<EthereumSendTransactionRpcInputParamsTransactionGasPrice>§max_fee_per_gas: Option<EthereumSendTransactionRpcInputParamsTransactionMaxFeePerGas>§max_priority_fee_per_gas: Option<EthereumSendTransactionRpcInputParamsTransactionMaxPriorityFeePerGas>§nonce: Option<EthereumSendTransactionRpcInputParamsTransactionNonce>§to: Option<String>§type_: Option<EthereumSendTransactionRpcInputParamsTransactionType>§value: Option<EthereumSendTransactionRpcInputParamsTransactionValue>Trait Implementations§
Source§impl Clone for EthereumSendTransactionRpcInputParamsTransaction
impl Clone for EthereumSendTransactionRpcInputParamsTransaction
Source§fn clone(&self) -> EthereumSendTransactionRpcInputParamsTransaction
fn clone(&self) -> EthereumSendTransactionRpcInputParamsTransaction
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 EthereumSendTransactionRpcInputParamsTransaction
impl<'de> Deserialize<'de> for EthereumSendTransactionRpcInputParamsTransaction
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<&EthereumSendTransactionRpcInputParamsTransaction> for EthereumSendTransactionRpcInputParamsTransaction
impl From<&EthereumSendTransactionRpcInputParamsTransaction> for EthereumSendTransactionRpcInputParamsTransaction
Source§fn from(value: &EthereumSendTransactionRpcInputParamsTransaction) -> Self
fn from(value: &EthereumSendTransactionRpcInputParamsTransaction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSendTransactionRpcInputParamsTransaction
impl RefUnwindSafe for EthereumSendTransactionRpcInputParamsTransaction
impl Send for EthereumSendTransactionRpcInputParamsTransaction
impl Sync for EthereumSendTransactionRpcInputParamsTransaction
impl Unpin for EthereumSendTransactionRpcInputParamsTransaction
impl UnwindSafe for EthereumSendTransactionRpcInputParamsTransaction
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