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