pub struct EthereumSignUserOperationRpcInputParams {
pub chain_id: EthereumSignUserOperationRpcInputParamsChainId,
pub contract: String,
pub user_operation: EthereumSignUserOperationRpcInputParamsUserOperation,
}Expand description
EthereumSignUserOperationRpcInputParams
JSON schema
{
"type": "object",
"required": [
"chain_id",
"contract",
"user_operation"
],
"properties": {
"chain_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"contract": {
"type": "string"
},
"user_operation": {
"type": "object",
"required": [
"call_data",
"call_gas_limit",
"max_fee_per_gas",
"max_priority_fee_per_gas",
"nonce",
"paymaster",
"paymaster_data",
"paymaster_post_op_gas_limit",
"paymaster_verification_gas_limit",
"pre_verification_gas",
"sender",
"verification_gas_limit"
],
"properties": {
"call_data": {
"type": "string"
},
"call_gas_limit": {
"type": "string"
},
"max_fee_per_gas": {
"type": "string"
},
"max_priority_fee_per_gas": {
"type": "string"
},
"nonce": {
"type": "string"
},
"paymaster": {
"type": "string"
},
"paymaster_data": {
"type": "string"
},
"paymaster_post_op_gas_limit": {
"type": "string"
},
"paymaster_verification_gas_limit": {
"type": "string"
},
"pre_verification_gas": {
"type": "string"
},
"sender": {
"type": "string"
},
"verification_gas_limit": {
"type": "string"
}
}
}
}
}Fields§
§chain_id: EthereumSignUserOperationRpcInputParamsChainId§contract: String§user_operation: EthereumSignUserOperationRpcInputParamsUserOperationTrait Implementations§
Source§impl Clone for EthereumSignUserOperationRpcInputParams
impl Clone for EthereumSignUserOperationRpcInputParams
Source§fn clone(&self) -> EthereumSignUserOperationRpcInputParams
fn clone(&self) -> EthereumSignUserOperationRpcInputParams
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 EthereumSignUserOperationRpcInputParams
impl<'de> Deserialize<'de> for EthereumSignUserOperationRpcInputParams
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<&EthereumSignUserOperationRpcInputParams> for EthereumSignUserOperationRpcInputParams
impl From<&EthereumSignUserOperationRpcInputParams> for EthereumSignUserOperationRpcInputParams
Source§fn from(value: &EthereumSignUserOperationRpcInputParams) -> Self
fn from(value: &EthereumSignUserOperationRpcInputParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSignUserOperationRpcInputParams
impl RefUnwindSafe for EthereumSignUserOperationRpcInputParams
impl Send for EthereumSignUserOperationRpcInputParams
impl Sync for EthereumSignUserOperationRpcInputParams
impl Unpin for EthereumSignUserOperationRpcInputParams
impl UnsafeUnpin for EthereumSignUserOperationRpcInputParams
impl UnwindSafe for EthereumSignUserOperationRpcInputParams
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