pub struct EthereumSignTransactionRpcInputParamsTransaction {
pub chain_id: Option<EthereumSignTransactionRpcInputParamsTransactionChainId>,
pub data: Option<String>,
pub from: Option<String>,
pub gas_limit: Option<EthereumSignTransactionRpcInputParamsTransactionGasLimit>,
pub gas_price: Option<EthereumSignTransactionRpcInputParamsTransactionGasPrice>,
pub max_fee_per_gas: Option<EthereumSignTransactionRpcInputParamsTransactionMaxFeePerGas>,
pub max_priority_fee_per_gas: Option<EthereumSignTransactionRpcInputParamsTransactionMaxPriorityFeePerGas>,
pub nonce: Option<EthereumSignTransactionRpcInputParamsTransactionNonce>,
pub to: Option<String>,
pub type_: Option<EthereumSignTransactionRpcInputParamsTransactionType>,
pub value: Option<EthereumSignTransactionRpcInputParamsTransactionValue>,
}Expand description
EthereumSignTransactionRpcInputParamsTransaction
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<EthereumSignTransactionRpcInputParamsTransactionChainId>§data: Option<String>§from: Option<String>§gas_limit: Option<EthereumSignTransactionRpcInputParamsTransactionGasLimit>§gas_price: Option<EthereumSignTransactionRpcInputParamsTransactionGasPrice>§max_fee_per_gas: Option<EthereumSignTransactionRpcInputParamsTransactionMaxFeePerGas>§max_priority_fee_per_gas: Option<EthereumSignTransactionRpcInputParamsTransactionMaxPriorityFeePerGas>§nonce: Option<EthereumSignTransactionRpcInputParamsTransactionNonce>§to: Option<String>§type_: Option<EthereumSignTransactionRpcInputParamsTransactionType>§value: Option<EthereumSignTransactionRpcInputParamsTransactionValue>Trait Implementations§
Source§impl Clone for EthereumSignTransactionRpcInputParamsTransaction
impl Clone for EthereumSignTransactionRpcInputParamsTransaction
Source§fn clone(&self) -> EthereumSignTransactionRpcInputParamsTransaction
fn clone(&self) -> EthereumSignTransactionRpcInputParamsTransaction
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 EthereumSignTransactionRpcInputParamsTransaction
impl<'de> Deserialize<'de> for EthereumSignTransactionRpcInputParamsTransaction
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<&EthereumSignTransactionRpcInputParamsTransaction> for EthereumSignTransactionRpcInputParamsTransaction
impl From<&EthereumSignTransactionRpcInputParamsTransaction> for EthereumSignTransactionRpcInputParamsTransaction
Source§fn from(value: &EthereumSignTransactionRpcInputParamsTransaction) -> Self
fn from(value: &EthereumSignTransactionRpcInputParamsTransaction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSignTransactionRpcInputParamsTransaction
impl RefUnwindSafe for EthereumSignTransactionRpcInputParamsTransaction
impl Send for EthereumSignTransactionRpcInputParamsTransaction
impl Sync for EthereumSignTransactionRpcInputParamsTransaction
impl Unpin for EthereumSignTransactionRpcInputParamsTransaction
impl UnwindSafe for EthereumSignTransactionRpcInputParamsTransaction
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