#[non_exhaustive]pub struct AwsWafRuleGroupRulesDetails {
pub action: Option<AwsWafRuleGroupRulesActionDetails>,
pub priority: Option<i32>,
pub rule_id: Option<String>,
pub type: Option<String>,
}Expand description
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: Option<AwsWafRuleGroupRulesActionDetails>Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
priority: Option<i32>If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value of Priority.
rule_id: Option<String>The rule ID for a rule.
type: Option<String>The type of rule.
Implementations§
source§impl AwsWafRuleGroupRulesDetails
impl AwsWafRuleGroupRulesDetails
sourcepub fn action(&self) -> Option<&AwsWafRuleGroupRulesActionDetails>
pub fn action(&self) -> Option<&AwsWafRuleGroupRulesActionDetails>
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
source§impl AwsWafRuleGroupRulesDetails
impl AwsWafRuleGroupRulesDetails
sourcepub fn builder() -> AwsWafRuleGroupRulesDetailsBuilder
pub fn builder() -> AwsWafRuleGroupRulesDetailsBuilder
Creates a new builder-style object to manufacture AwsWafRuleGroupRulesDetails.
Trait Implementations§
source§impl Clone for AwsWafRuleGroupRulesDetails
impl Clone for AwsWafRuleGroupRulesDetails
source§fn clone(&self) -> AwsWafRuleGroupRulesDetails
fn clone(&self) -> AwsWafRuleGroupRulesDetails
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 Debug for AwsWafRuleGroupRulesDetails
impl Debug for AwsWafRuleGroupRulesDetails
source§impl PartialEq for AwsWafRuleGroupRulesDetails
impl PartialEq for AwsWafRuleGroupRulesDetails
source§fn eq(&self, other: &AwsWafRuleGroupRulesDetails) -> bool
fn eq(&self, other: &AwsWafRuleGroupRulesDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsWafRuleGroupRulesDetails
Auto Trait Implementations§
impl Freeze for AwsWafRuleGroupRulesDetails
impl RefUnwindSafe for AwsWafRuleGroupRulesDetails
impl Send for AwsWafRuleGroupRulesDetails
impl Sync for AwsWafRuleGroupRulesDetails
impl Unpin for AwsWafRuleGroupRulesDetails
impl UnwindSafe for AwsWafRuleGroupRulesDetails
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.