Struct aws_sdk_securityhub::types::AwsWafRuleGroupDetails
source · #[non_exhaustive]pub struct AwsWafRuleGroupDetails {
pub metric_name: Option<String>,
pub name: Option<String>,
pub rule_group_id: Option<String>,
pub rules: Option<Vec<AwsWafRuleGroupRulesDetails>>,
}
Expand description
Provides information about an WAF rule group. A rule group is a collection of rules for inspecting and controlling web requests.
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.metric_name: Option<String>
The name of the metrics for this rule group.
name: Option<String>
The name of the rule group.
rule_group_id: Option<String>
The ID of the rule group.
rules: Option<Vec<AwsWafRuleGroupRulesDetails>>
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
Implementations§
source§impl AwsWafRuleGroupDetails
impl AwsWafRuleGroupDetails
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the metrics for this rule group.
sourcepub fn rule_group_id(&self) -> Option<&str>
pub fn rule_group_id(&self) -> Option<&str>
The ID of the rule group.
sourcepub fn rules(&self) -> Option<&[AwsWafRuleGroupRulesDetails]>
pub fn rules(&self) -> Option<&[AwsWafRuleGroupRulesDetails]>
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
source§impl AwsWafRuleGroupDetails
impl AwsWafRuleGroupDetails
sourcepub fn builder() -> AwsWafRuleGroupDetailsBuilder
pub fn builder() -> AwsWafRuleGroupDetailsBuilder
Creates a new builder-style object to manufacture AwsWafRuleGroupDetails
.
Trait Implementations§
source§impl Clone for AwsWafRuleGroupDetails
impl Clone for AwsWafRuleGroupDetails
source§fn clone(&self) -> AwsWafRuleGroupDetails
fn clone(&self) -> AwsWafRuleGroupDetails
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 AwsWafRuleGroupDetails
impl Debug for AwsWafRuleGroupDetails
source§impl PartialEq<AwsWafRuleGroupDetails> for AwsWafRuleGroupDetails
impl PartialEq<AwsWafRuleGroupDetails> for AwsWafRuleGroupDetails
source§fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsWafRuleGroupDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsWafRuleGroupDetails
impl Send for AwsWafRuleGroupDetails
impl Sync for AwsWafRuleGroupDetails
impl Unpin for AwsWafRuleGroupDetails
impl UnwindSafe for AwsWafRuleGroupDetails
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