pub struct SignEndUserEvmTypedDataSimulationInput {
pub address: SignEndUserEvmTypedDataSimulationInputAddress,
pub operation: SignEndUserEvmTypedDataSimulationInputOperation,
pub typed_data: Eip712Message,
pub user_id: SignEndUserEvmTypedDataSimulationInputUserId,
}Expand description
SignEndUserEvmTypedDataSimulationInput
JSON schema
{
"title": "SignEndUserEvmTypedDataSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"operation": "signEndUserEvmTypedData",
"typedData": {
"domain": {},
"message": {},
"primaryType": "Mail",
"types": {}
},
"userId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"required": [
"address",
"operation",
"typedData",
"userId"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account belonging to the end user.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"signEndUserEvmTypedData"
],
"x-go-type": "string"
},
"typedData": {
"$ref": "#/components/schemas/EIP712Message"
},
"userId": {
"description": "The ID of the end user.",
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
},
"additionalProperties": false
}Fields§
§address: SignEndUserEvmTypedDataSimulationInputAddressThe 0x-prefixed address of the EVM account belonging to the end user.
operation: SignEndUserEvmTypedDataSimulationInputOperationRule operation to simulate.
typed_data: Eip712Message§user_id: SignEndUserEvmTypedDataSimulationInputUserIdThe ID of the end user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignEndUserEvmTypedDataSimulationInput
impl<'de> Deserialize<'de> for SignEndUserEvmTypedDataSimulationInput
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<&SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
impl From<&SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
Source§fn from(value: &SignEndUserEvmTypedDataSimulationInput) -> Self
fn from(value: &SignEndUserEvmTypedDataSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmTypedDataSimulationInput> for SimulatePoliciesRequest
impl From<SignEndUserEvmTypedDataSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEndUserEvmTypedDataSimulationInput) -> Self
fn from(value: SignEndUserEvmTypedDataSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
impl From<SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
Source§fn from(value: SignEndUserEvmTypedDataSimulationInput) -> Self
fn from(value: SignEndUserEvmTypedDataSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
impl TryFrom<SignEndUserEvmTypedDataSimulationInput> for SignEndUserEvmTypedDataSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEndUserEvmTypedDataSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SignEndUserEvmTypedDataSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserEvmTypedDataSimulationInput
impl RefUnwindSafe for SignEndUserEvmTypedDataSimulationInput
impl Send for SignEndUserEvmTypedDataSimulationInput
impl Sync for SignEndUserEvmTypedDataSimulationInput
impl Unpin for SignEndUserEvmTypedDataSimulationInput
impl UnsafeUnpin for SignEndUserEvmTypedDataSimulationInput
impl UnwindSafe for SignEndUserEvmTypedDataSimulationInput
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