pub struct EthereumSignUserOperationRpcInput {
pub address: Option<String>,
pub chain_type: Option<EthereumSignUserOperationRpcInputChainType>,
pub method: EthereumSignUserOperationRpcInputMethod,
pub params: EthereumSignUserOperationRpcInputParams,
pub wallet_id: Option<String>,
}Expand description
Executes an RPC method to hash and sign a UserOperation.
JSON schema
{
"title": "EthereumSignUserOperationRpcInput",
"description": "Executes an RPC method to hash and sign a
UserOperation.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"method": {
"type": "string",
"enum": [
"eth_signUserOperation"
]
},
"params": {
"$ref":
"#/components/schemas/EthereumSignUserOperationRpcInputParams"
},
"wallet_id": {
"type": "string"
}
},
"x-stainless-model": "wallets.ethereum_sign_user_operation_rpc_input"
}Fields§
§address: Option<String>§chain_type: Option<EthereumSignUserOperationRpcInputChainType>§method: EthereumSignUserOperationRpcInputMethod§params: EthereumSignUserOperationRpcInputParams§wallet_id: Option<String>Trait Implementations§
Source§impl Clone for EthereumSignUserOperationRpcInput
impl Clone for EthereumSignUserOperationRpcInput
Source§fn clone(&self) -> EthereumSignUserOperationRpcInput
fn clone(&self) -> EthereumSignUserOperationRpcInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EthereumSignUserOperationRpcInput
impl<'de> Deserialize<'de> for EthereumSignUserOperationRpcInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignUserOperationRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignUserOperationRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSignUserOperationRpcInput> for EthereumSignUserOperationRpcInput
impl From<&EthereumSignUserOperationRpcInput> for EthereumSignUserOperationRpcInput
Source§fn from(
value: &EthereumSignUserOperationRpcInput,
) -> EthereumSignUserOperationRpcInput
fn from( value: &EthereumSignUserOperationRpcInput, ) -> EthereumSignUserOperationRpcInput
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for EthereumRpcInput
impl From<EthereumSignUserOperationRpcInput> for EthereumRpcInput
Source§fn from(value: EthereumSignUserOperationRpcInput) -> EthereumRpcInput
fn from(value: EthereumSignUserOperationRpcInput) -> EthereumRpcInput
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for WalletRpcRequestBody
impl From<EthereumSignUserOperationRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSignUserOperationRpcInput) -> WalletRpcRequestBody
fn from(value: EthereumSignUserOperationRpcInput) -> WalletRpcRequestBody
Converts to this type from the input type.
Source§impl Serialize for EthereumSignUserOperationRpcInput
impl Serialize for EthereumSignUserOperationRpcInput
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 EthereumSignUserOperationRpcInput
impl RefUnwindSafe for EthereumSignUserOperationRpcInput
impl Send for EthereumSignUserOperationRpcInput
impl Sync for EthereumSignUserOperationRpcInput
impl Unpin for EthereumSignUserOperationRpcInput
impl UnsafeUnpin for EthereumSignUserOperationRpcInput
impl UnwindSafe for EthereumSignUserOperationRpcInput
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