pub struct SignEndUserEvmHashRule {
pub action: SignEndUserEvmHashRuleAction,
pub operation: SignEndUserEvmHashRuleOperation,
}Expand description
SignEndUserEvmHashRule
JSON schema
{
"title": "SignEndUserEvmHashRule",
"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": [
"signEndUserEvmHash"
],
"type": "string",
"enum": [
"signEndUserEvmHash"
]
}
},
"x-audience": "public"
}Fields§
§action: SignEndUserEvmHashRuleActionWhether any attempts to sign a hash will be accepted or rejected. This rule does not accept any criteria.
operation: SignEndUserEvmHashRuleOperationThe operation to which the rule applies.
Implementations§
Source§impl SignEndUserEvmHashRule
impl SignEndUserEvmHashRule
pub fn builder() -> SignEndUserEvmHashRule
Trait Implementations§
Source§impl Clone for SignEndUserEvmHashRule
impl Clone for SignEndUserEvmHashRule
Source§fn clone(&self) -> SignEndUserEvmHashRule
fn clone(&self) -> SignEndUserEvmHashRule
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 SignEndUserEvmHashRule
impl Debug for SignEndUserEvmHashRule
Source§impl<'de> Deserialize<'de> for SignEndUserEvmHashRule
impl<'de> Deserialize<'de> for SignEndUserEvmHashRule
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<&SignEndUserEvmHashRule> for SignEndUserEvmHashRule
impl From<&SignEndUserEvmHashRule> for SignEndUserEvmHashRule
Source§fn from(value: &SignEndUserEvmHashRule) -> Self
fn from(value: &SignEndUserEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmHashRule> for Rule
impl From<SignEndUserEvmHashRule> for Rule
Source§fn from(value: SignEndUserEvmHashRule) -> Self
fn from(value: SignEndUserEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmHashRule> for SignEndUserEvmHashRule
impl From<SignEndUserEvmHashRule> for SignEndUserEvmHashRule
Source§fn from(value: SignEndUserEvmHashRule) -> Self
fn from(value: SignEndUserEvmHashRule) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignEndUserEvmHashRule
impl Serialize for SignEndUserEvmHashRule
Source§impl TryFrom<SignEndUserEvmHashRule> for SignEndUserEvmHashRule
impl TryFrom<SignEndUserEvmHashRule> for SignEndUserEvmHashRule
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEndUserEvmHashRule) -> Result<Self, ConversionError>
fn try_from(value: SignEndUserEvmHashRule) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserEvmHashRule
impl RefUnwindSafe for SignEndUserEvmHashRule
impl Send for SignEndUserEvmHashRule
impl Sync for SignEndUserEvmHashRule
impl Unpin for SignEndUserEvmHashRule
impl UnsafeUnpin for SignEndUserEvmHashRule
impl UnwindSafe for SignEndUserEvmHashRule
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