pub struct SignEvmHashSimulationInput {
pub address: SignEvmHashSimulationInputAddress,
pub hash: String,
pub operation: SignEvmHashSimulationInputOperation,
}Expand description
SignEvmHashSimulationInput
JSON schema
{
"title": "SignEvmHashSimulationInput",
"examples": [
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"operation": "signEvmHash"
}
],
"type": "object",
"required": [
"address",
"hash",
"operation"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account.",
"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": [
"signEvmHash"
],
"x-go-type": "string"
}
},
"additionalProperties": false
}Fields§
§address: SignEvmHashSimulationInputAddressThe 0x-prefixed address of the EVM account.
hash: StringThe arbitrary 32 byte hash to evaluate.
operation: SignEvmHashSimulationInputOperationRule operation to simulate.
Implementations§
Source§impl SignEvmHashSimulationInput
impl SignEvmHashSimulationInput
pub fn builder() -> SignEvmHashSimulationInput
Trait Implementations§
Source§impl Clone for SignEvmHashSimulationInput
impl Clone for SignEvmHashSimulationInput
Source§impl Debug for SignEvmHashSimulationInput
impl Debug for SignEvmHashSimulationInput
Source§impl<'de> Deserialize<'de> for SignEvmHashSimulationInput
impl<'de> Deserialize<'de> for SignEvmHashSimulationInput
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<&SignEvmHashSimulationInput> for SignEvmHashSimulationInput
impl From<&SignEvmHashSimulationInput> for SignEvmHashSimulationInput
Source§fn from(value: &SignEvmHashSimulationInput) -> Self
fn from(value: &SignEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmHashSimulationInput> for SimulatePoliciesRequest
impl From<SignEvmHashSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEvmHashSimulationInput) -> Self
fn from(value: SignEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmHashSimulationInput> for SignEvmHashSimulationInput
impl From<SignEvmHashSimulationInput> for SignEvmHashSimulationInput
Source§fn from(value: SignEvmHashSimulationInput) -> Self
fn from(value: SignEvmHashSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEvmHashSimulationInput> for SignEvmHashSimulationInput
impl TryFrom<SignEvmHashSimulationInput> for SignEvmHashSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEvmHashSimulationInput) -> Result<Self, ConversionError>
fn try_from(value: SignEvmHashSimulationInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmHashSimulationInput
impl RefUnwindSafe for SignEvmHashSimulationInput
impl Send for SignEvmHashSimulationInput
impl Sync for SignEvmHashSimulationInput
impl Unpin for SignEvmHashSimulationInput
impl UnsafeUnpin for SignEvmHashSimulationInput
impl UnwindSafe for SignEvmHashSimulationInput
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