pub struct SendUserOperationSimulationInput {
pub address: SendUserOperationSimulationInputAddress,
pub operation: SendUserOperationSimulationInputOperation,
pub user_op_hash: SendUserOperationSimulationInputUserOpHash,
}Expand description
SendUserOperationSimulationInput
JSON schema
{
"title": "SendUserOperationSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"operation": "sendUserOperation",
"userOpHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
],
"type": "object",
"required": [
"address",
"operation",
"userOpHash"
],
"properties": {
"address": {
"description": "The Smart Account address.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"sendUserOperation"
],
"x-go-type": "string"
},
"userOpHash": {
"description": "The hash of the prepared user operation.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
},
"additionalProperties": false
}Fields§
§address: SendUserOperationSimulationInputAddressThe Smart Account address.
operation: SendUserOperationSimulationInputOperationRule operation to simulate.
user_op_hash: SendUserOperationSimulationInputUserOpHashThe hash of the prepared user operation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SendUserOperationSimulationInput
impl<'de> Deserialize<'de> for SendUserOperationSimulationInput
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<&SendUserOperationSimulationInput> for SendUserOperationSimulationInput
impl From<&SendUserOperationSimulationInput> for SendUserOperationSimulationInput
Source§fn from(value: &SendUserOperationSimulationInput) -> Self
fn from(value: &SendUserOperationSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SendUserOperationSimulationInput> for SimulatePoliciesRequest
impl From<SendUserOperationSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SendUserOperationSimulationInput) -> Self
fn from(value: SendUserOperationSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SendUserOperationSimulationInput> for SendUserOperationSimulationInput
impl From<SendUserOperationSimulationInput> for SendUserOperationSimulationInput
Source§fn from(value: SendUserOperationSimulationInput) -> Self
fn from(value: SendUserOperationSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SendUserOperationSimulationInput> for SendUserOperationSimulationInput
impl TryFrom<SendUserOperationSimulationInput> for SendUserOperationSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SendUserOperationSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SendUserOperationSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendUserOperationSimulationInput
impl RefUnwindSafe for SendUserOperationSimulationInput
impl Send for SendUserOperationSimulationInput
impl Sync for SendUserOperationSimulationInput
impl Unpin for SendUserOperationSimulationInput
impl UnsafeUnpin for SendUserOperationSimulationInput
impl UnwindSafe for SendUserOperationSimulationInput
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