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