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