#[non_exhaustive]pub struct StatelessRulesAndCustomActions { /* private fields */ }
Expand description
Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.
Implementations§
source§impl StatelessRulesAndCustomActions
impl StatelessRulesAndCustomActions
sourcepub fn stateless_rules(&self) -> Option<&[StatelessRule]>
pub fn stateless_rules(&self) -> Option<&[StatelessRule]>
Defines the set of stateless rules for use in a stateless rule group.
sourcepub fn custom_actions(&self) -> Option<&[CustomAction]>
pub fn custom_actions(&self) -> Option<&[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.
source§impl StatelessRulesAndCustomActions
impl StatelessRulesAndCustomActions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatelessRulesAndCustomActions
.
Trait Implementations§
source§impl Clone for StatelessRulesAndCustomActions
impl Clone for StatelessRulesAndCustomActions
source§fn clone(&self) -> StatelessRulesAndCustomActions
fn clone(&self) -> StatelessRulesAndCustomActions
Returns a copy 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 PartialEq<StatelessRulesAndCustomActions> for StatelessRulesAndCustomActions
impl PartialEq<StatelessRulesAndCustomActions> for StatelessRulesAndCustomActions
source§fn eq(&self, other: &StatelessRulesAndCustomActions) -> bool
fn eq(&self, other: &StatelessRulesAndCustomActions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.