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: StringThe 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
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> 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.