pub struct SignEvmMessageSimulationInput {
pub address: SignEvmMessageSimulationInputAddress,
pub message: String,
pub operation: SignEvmMessageSimulationInputOperation,
}Expand description
SignEvmMessageSimulationInput
JSON schema
{
"title": "SignEvmMessageSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"message": "Hello, world!",
"operation": "signEvmMessage"
}
],
"type": "object",
"required": [
"address",
"message",
"operation"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account.",
"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": [
"signEvmMessage"
],
"x-go-type": "string"
}
},
"additionalProperties": false
}Fields§
§address: SignEvmMessageSimulationInputAddressThe 0x-prefixed address of the EVM account.
message: StringThe message to evaluate.
operation: SignEvmMessageSimulationInputOperationRule operation to simulate.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignEvmMessageSimulationInput
impl<'de> Deserialize<'de> for SignEvmMessageSimulationInput
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<&SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
impl From<&SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
Source§fn from(value: &SignEvmMessageSimulationInput) -> Self
fn from(value: &SignEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmMessageSimulationInput> for SimulatePoliciesRequest
impl From<SignEvmMessageSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEvmMessageSimulationInput) -> Self
fn from(value: SignEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
impl From<SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
Source§fn from(value: SignEvmMessageSimulationInput) -> Self
fn from(value: SignEvmMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
impl TryFrom<SignEvmMessageSimulationInput> for SignEvmMessageSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEvmMessageSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SignEvmMessageSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmMessageSimulationInput
impl RefUnwindSafe for SignEvmMessageSimulationInput
impl Send for SignEvmMessageSimulationInput
impl Sync for SignEvmMessageSimulationInput
impl Unpin for SignEvmMessageSimulationInput
impl UnsafeUnpin for SignEvmMessageSimulationInput
impl UnwindSafe for SignEvmMessageSimulationInput
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