Struct aws_sdk_wafv2::types::RateLimitLabelNamespace
source · #[non_exhaustive]pub struct RateLimitLabelNamespace {
pub namespace: String,
}
Expand description
Specifies a label namespace to use as an aggregate key for a rate-based rule. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
For information about label namespaces and names, see Label syntax and naming requirements in the WAF Developer Guide.
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.namespace: String
The namespace to use for aggregation.
Implementations§
source§impl RateLimitLabelNamespace
impl RateLimitLabelNamespace
sourcepub fn builder() -> RateLimitLabelNamespaceBuilder
pub fn builder() -> RateLimitLabelNamespaceBuilder
Creates a new builder-style object to manufacture RateLimitLabelNamespace
.
Trait Implementations§
source§impl Clone for RateLimitLabelNamespace
impl Clone for RateLimitLabelNamespace
source§fn clone(&self) -> RateLimitLabelNamespace
fn clone(&self) -> RateLimitLabelNamespace
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 RateLimitLabelNamespace
impl Debug for RateLimitLabelNamespace
source§impl PartialEq for RateLimitLabelNamespace
impl PartialEq for RateLimitLabelNamespace
source§fn eq(&self, other: &RateLimitLabelNamespace) -> bool
fn eq(&self, other: &RateLimitLabelNamespace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RateLimitLabelNamespace
Auto Trait Implementations§
impl Freeze for RateLimitLabelNamespace
impl RefUnwindSafe for RateLimitLabelNamespace
impl Send for RateLimitLabelNamespace
impl Sync for RateLimitLabelNamespace
impl Unpin for RateLimitLabelNamespace
impl UnwindSafe for RateLimitLabelNamespace
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.