pub struct SignEvmHashRule {
pub action: SignEvmHashRuleAction,
pub operation: SignEvmHashRuleOperation,
}
Expand description
SignEvmHashRule
JSON schema
{
"title": "SignEvmHashRule",
"required": [
"action",
"operation"
],
"properties": {
"action": {
"description": "Whether any attempts to sign a hash will be accepted or rejected. This rule does not accept any criteria.",
"examples": [
"accept"
],
"type": "string",
"enum": [
"reject",
"accept"
]
},
"operation": {
"description": "The operation to which the rule applies.",
"examples": [
"signEvmHash"
],
"type": "string",
"enum": [
"signEvmHash"
]
}
},
"x-audience": "public"
}
Fields§
§action: SignEvmHashRuleAction
Whether any attempts to sign a hash will be accepted or rejected. This rule does not accept any criteria.
operation: SignEvmHashRuleOperation
The operation to which the rule applies.
Implementations§
Source§impl SignEvmHashRule
impl SignEvmHashRule
pub fn builder() -> SignEvmHashRule
Trait Implementations§
Source§impl Clone for SignEvmHashRule
impl Clone for SignEvmHashRule
Source§fn clone(&self) -> SignEvmHashRule
fn clone(&self) -> SignEvmHashRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignEvmHashRule
impl Debug for SignEvmHashRule
Source§impl<'de> Deserialize<'de> for SignEvmHashRule
impl<'de> Deserialize<'de> for SignEvmHashRule
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<&SignEvmHashRule> for SignEvmHashRule
impl From<&SignEvmHashRule> for SignEvmHashRule
Source§fn from(value: &SignEvmHashRule) -> Self
fn from(value: &SignEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmHashRule> for Rule
impl From<SignEvmHashRule> for Rule
Source§fn from(value: SignEvmHashRule) -> Self
fn from(value: SignEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmHashRule> for SignEvmHashRule
impl From<SignEvmHashRule> for SignEvmHashRule
Source§fn from(value: SignEvmHashRule) -> Self
fn from(value: SignEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignEvmHashRule
impl Serialize for SignEvmHashRule
Source§impl TryFrom<SignEvmHashRule> for SignEvmHashRule
impl TryFrom<SignEvmHashRule> for SignEvmHashRule
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEvmHashRule) -> Result<Self, ConversionError>
fn try_from(value: SignEvmHashRule) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmHashRule
impl RefUnwindSafe for SignEvmHashRule
impl Send for SignEvmHashRule
impl Sync for SignEvmHashRule
impl Unpin for SignEvmHashRule
impl UnwindSafe for SignEvmHashRule
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