#[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
sourceimpl 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.
sourceimpl StatelessRulesAndCustomActions
impl StatelessRulesAndCustomActions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatelessRulesAndCustomActions
.
Trait Implementations
sourceimpl Clone for StatelessRulesAndCustomActions
impl Clone for StatelessRulesAndCustomActions
sourcefn clone(&self) -> StatelessRulesAndCustomActions
fn clone(&self) -> StatelessRulesAndCustomActions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<StatelessRulesAndCustomActions> for StatelessRulesAndCustomActions
impl PartialEq<StatelessRulesAndCustomActions> for StatelessRulesAndCustomActions
sourcefn eq(&self, other: &StatelessRulesAndCustomActions) -> bool
fn eq(&self, other: &StatelessRulesAndCustomActions) -> bool
impl StructuralPartialEq for StatelessRulesAndCustomActions
Auto Trait Implementations
impl RefUnwindSafe for StatelessRulesAndCustomActions
impl Send for StatelessRulesAndCustomActions
impl Sync for StatelessRulesAndCustomActions
impl Unpin for StatelessRulesAndCustomActions
impl UnwindSafe for StatelessRulesAndCustomActions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more