#[non_exhaustive]pub struct StatelessRulesAndCustomActions {
pub stateless_rules: Option<Vec<StatelessRule>>,
pub custom_actions: Option<Vec<CustomAction>>,
}
Expand description
Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stateless_rules: Option<Vec<StatelessRule>>
Defines the set of stateless rules for use in a stateless rule group.
custom_actions: Option<Vec<CustomAction>>
Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule
RuleDefinition
Actions
specification.
Implementations
Defines the set of stateless rules for use in a stateless rule group.
Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule
RuleDefinition
Actions
specification.
Creates a new builder-style object to manufacture StatelessRulesAndCustomActions
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for StatelessRulesAndCustomActions
impl Sync for StatelessRulesAndCustomActions
impl Unpin for StatelessRulesAndCustomActions
impl UnwindSafe for StatelessRulesAndCustomActions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more