pub struct SignEndUserEvmMessageSimulationInput {
pub address: SignEndUserEvmMessageSimulationInputAddress,
pub message: String,
pub operation: SignEndUserEvmMessageSimulationInputOperation,
pub user_id: SignEndUserEvmMessageSimulationInputUserId,
}Expand description
SignEndUserEvmMessageSimulationInput
JSON schema
{
"title": "SignEndUserEvmMessageSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"message": "Hello, world!",
"operation": "signEndUserEvmMessage",
"userId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"required": [
"address",
"message",
"operation",
"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}$"
},
"message": {
"description": "The message to evaluate.",
"type": "string"
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"signEndUserEvmMessage"
],
"x-go-type": "string"
},
"userId": {
"description": "The ID of the end user.",
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
},
"additionalProperties": false
}Fields§
§address: SignEndUserEvmMessageSimulationInputAddressThe 0x-prefixed address of the EVM account belonging to the end user.
message: StringThe message to evaluate.
operation: SignEndUserEvmMessageSimulationInputOperationRule operation to simulate.
user_id: SignEndUserEvmMessageSimulationInputUserIdThe ID of the end user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignEndUserEvmMessageSimulationInput
impl<'de> Deserialize<'de> for SignEndUserEvmMessageSimulationInput
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<&SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
impl From<&SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
Source§fn from(value: &SignEndUserEvmMessageSimulationInput) -> Self
fn from(value: &SignEndUserEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmMessageSimulationInput> for SimulatePoliciesRequest
impl From<SignEndUserEvmMessageSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEndUserEvmMessageSimulationInput) -> Self
fn from(value: SignEndUserEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
impl From<SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
Source§fn from(value: SignEndUserEvmMessageSimulationInput) -> Self
fn from(value: SignEndUserEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
impl TryFrom<SignEndUserEvmMessageSimulationInput> for SignEndUserEvmMessageSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEndUserEvmMessageSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SignEndUserEvmMessageSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserEvmMessageSimulationInput
impl RefUnwindSafe for SignEndUserEvmMessageSimulationInput
impl Send for SignEndUserEvmMessageSimulationInput
impl Sync for SignEndUserEvmMessageSimulationInput
impl Unpin for SignEndUserEvmMessageSimulationInput
impl UnsafeUnpin for SignEndUserEvmMessageSimulationInput
impl UnwindSafe for SignEndUserEvmMessageSimulationInput
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