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