pub struct SignEndUserEvmTypedDataRule {
pub action: SignEndUserEvmTypedDataRuleAction,
pub criteria: SignEndUserEvmTypedDataCriteria,
pub operation: SignEndUserEvmTypedDataRuleOperation,
}Expand description
SignEndUserEvmTypedDataRule
JSON schema
{
"title": "SignEndUserEvmTypedDataRule",
"required": [
"action",
"criteria",
"operation"
],
"properties": {
"action": {
"description": "Whether matching the rule will cause the request to be rejected or accepted.",
"examples": [
"accept"
],
"type": "string",
"enum": [
"reject",
"accept"
]
},
"criteria": {
"$ref": "#/components/schemas/SignEndUserEvmTypedDataCriteria"
},
"operation": {
"description": "The operation to which the rule applies. Every element of the `criteria` array must match the specified operation.",
"examples": [
"signEndUserEvmTypedData"
],
"type": "string",
"enum": [
"signEndUserEvmTypedData"
]
}
},
"x-audience": "public"
}Fields§
§action: SignEndUserEvmTypedDataRuleActionWhether matching the rule will cause the request to be rejected or accepted.
criteria: SignEndUserEvmTypedDataCriteria§operation: SignEndUserEvmTypedDataRuleOperationThe operation to which the rule applies. Every element of the criteria array must match the specified operation.
Implementations§
Trait Implementations§
Source§impl Clone for SignEndUserEvmTypedDataRule
impl Clone for SignEndUserEvmTypedDataRule
Source§fn clone(&self) -> SignEndUserEvmTypedDataRule
fn clone(&self) -> SignEndUserEvmTypedDataRule
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 SignEndUserEvmTypedDataRule
impl Debug for SignEndUserEvmTypedDataRule
Source§impl<'de> Deserialize<'de> for SignEndUserEvmTypedDataRule
impl<'de> Deserialize<'de> for SignEndUserEvmTypedDataRule
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<&SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
impl From<&SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
Source§fn from(value: &SignEndUserEvmTypedDataRule) -> Self
fn from(value: &SignEndUserEvmTypedDataRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmTypedDataRule> for Rule
impl From<SignEndUserEvmTypedDataRule> for Rule
Source§fn from(value: SignEndUserEvmTypedDataRule) -> Self
fn from(value: SignEndUserEvmTypedDataRule) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
impl From<SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
Source§fn from(value: SignEndUserEvmTypedDataRule) -> Self
fn from(value: SignEndUserEvmTypedDataRule) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
impl TryFrom<SignEndUserEvmTypedDataRule> for SignEndUserEvmTypedDataRule
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEndUserEvmTypedDataRule) -> Result<Self, ConversionError>
fn try_from(value: SignEndUserEvmTypedDataRule) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserEvmTypedDataRule
impl RefUnwindSafe for SignEndUserEvmTypedDataRule
impl Send for SignEndUserEvmTypedDataRule
impl Sync for SignEndUserEvmTypedDataRule
impl Unpin for SignEndUserEvmTypedDataRule
impl UnsafeUnpin for SignEndUserEvmTypedDataRule
impl UnwindSafe for SignEndUserEvmTypedDataRule
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