#[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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.