pub struct SignEndUserEvmHashSimulationInput {
pub address: SignEndUserEvmHashSimulationInputAddress,
pub hash: String,
pub operation: SignEndUserEvmHashSimulationInputOperation,
pub user_id: SignEndUserEvmHashSimulationInputUserId,
}Expand description
SignEndUserEvmHashSimulationInput
JSON schema
{
"title": "SignEndUserEvmHashSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"operation": "signEndUserEvmHash",
"userId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"required": [
"address",
"hash",
"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}$"
},
"hash": {
"description": "The arbitrary 32 byte hash to evaluate.",
"type": "string"
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"signEndUserEvmHash"
],
"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: SignEndUserEvmHashSimulationInputAddressThe 0x-prefixed address of the EVM account belonging to the end user.
hash: StringThe arbitrary 32 byte hash to evaluate.
operation: SignEndUserEvmHashSimulationInputOperationRule operation to simulate.
user_id: SignEndUserEvmHashSimulationInputUserIdThe ID of the end user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignEndUserEvmHashSimulationInput
impl<'de> Deserialize<'de> for SignEndUserEvmHashSimulationInput
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<&SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
impl From<&SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
Source§fn from(value: &SignEndUserEvmHashSimulationInput) -> Self
fn from(value: &SignEndUserEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmHashSimulationInput> for SimulatePoliciesRequest
impl From<SignEndUserEvmHashSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEndUserEvmHashSimulationInput) -> Self
fn from(value: SignEndUserEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
impl From<SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
Source§fn from(value: SignEndUserEvmHashSimulationInput) -> Self
fn from(value: SignEndUserEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
impl TryFrom<SignEndUserEvmHashSimulationInput> for SignEndUserEvmHashSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEndUserEvmHashSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SignEndUserEvmHashSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserEvmHashSimulationInput
impl RefUnwindSafe for SignEndUserEvmHashSimulationInput
impl Send for SignEndUserEvmHashSimulationInput
impl Sync for SignEndUserEvmHashSimulationInput
impl Unpin for SignEndUserEvmHashSimulationInput
impl UnsafeUnpin for SignEndUserEvmHashSimulationInput
impl UnwindSafe for SignEndUserEvmHashSimulationInput
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