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