Struct aws_sdk_wafv2::types::ManagedRuleGroupSummary
source · #[non_exhaustive]pub struct ManagedRuleGroupSummary {
pub vendor_name: Option<String>,
pub name: Option<String>,
pub versioning_supported: bool,
pub description: Option<String>,
}
Expand description
High-level information about a managed rule group, returned by ListAvailableManagedRuleGroups
. This provides information like the name and vendor name, that you provide when you add a ManagedRuleGroupStatement
to a web ACL. Managed rule groups include Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. To use any Amazon Web Services Marketplace managed rule group, first subscribe to the rule group through Amazon Web Services Marketplace.
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.vendor_name: Option<String>
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
name: Option<String>
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
versioning_supported: bool
Indicates whether the managed rule group is versioned. If it is, you can retrieve the versions list by calling ListAvailableManagedRuleGroupVersions
.
description: Option<String>
The description of the managed rule group, provided by Amazon Web Services Managed Rules or the Amazon Web Services Marketplace seller who manages it.
Implementations§
source§impl ManagedRuleGroupSummary
impl ManagedRuleGroupSummary
sourcepub fn vendor_name(&self) -> Option<&str>
pub fn vendor_name(&self) -> Option<&str>
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
sourcepub fn versioning_supported(&self) -> bool
pub fn versioning_supported(&self) -> bool
Indicates whether the managed rule group is versioned. If it is, you can retrieve the versions list by calling ListAvailableManagedRuleGroupVersions
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the managed rule group, provided by Amazon Web Services Managed Rules or the Amazon Web Services Marketplace seller who manages it.
source§impl ManagedRuleGroupSummary
impl ManagedRuleGroupSummary
sourcepub fn builder() -> ManagedRuleGroupSummaryBuilder
pub fn builder() -> ManagedRuleGroupSummaryBuilder
Creates a new builder-style object to manufacture ManagedRuleGroupSummary
.
Trait Implementations§
source§impl Clone for ManagedRuleGroupSummary
impl Clone for ManagedRuleGroupSummary
source§fn clone(&self) -> ManagedRuleGroupSummary
fn clone(&self) -> ManagedRuleGroupSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedRuleGroupSummary
impl Debug for ManagedRuleGroupSummary
source§impl PartialEq for ManagedRuleGroupSummary
impl PartialEq for ManagedRuleGroupSummary
source§fn eq(&self, other: &ManagedRuleGroupSummary) -> bool
fn eq(&self, other: &ManagedRuleGroupSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedRuleGroupSummary
Auto Trait Implementations§
impl Freeze for ManagedRuleGroupSummary
impl RefUnwindSafe for ManagedRuleGroupSummary
impl Send for ManagedRuleGroupSummary
impl Sync for ManagedRuleGroupSummary
impl Unpin for ManagedRuleGroupSummary
impl UnwindSafe for ManagedRuleGroupSummary
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> 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