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