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
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) -> &[AwsWafRuleGroupRulesDetails]
pub fn rules(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none().
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsWafRuleGroupDetails
impl Debug for AwsWafRuleGroupDetails
source§impl PartialEq for AwsWafRuleGroupDetails
impl PartialEq for AwsWafRuleGroupDetails
source§fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
fn eq(&self, other: &AwsWafRuleGroupDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsWafRuleGroupDetails
Auto Trait Implementations§
impl Freeze for AwsWafRuleGroupDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more