Struct aws_sdk_wafv2::types::RateLimitIp
source · #[non_exhaustive]pub struct RateLimitIp {}
Expand description
Specifies the IP address in the web request as an aggregate key for a rate-based rule. Each distinct IP address contributes to the aggregation instance.
This setting is used only in the RateBasedStatementCustomKey
specification of a rate-based rule statement. To use this in the custom key settings, you must specify at least one other key to use, along with the IP address. To aggregate on only the IP address, in your rate-based statement's AggregateKeyType
, specify IP
.
JSON specification: "RateLimitIP": {}
Implementations§
source§impl RateLimitIp
impl RateLimitIp
sourcepub fn builder() -> RateLimitIpBuilder
pub fn builder() -> RateLimitIpBuilder
Creates a new builder-style object to manufacture RateLimitIp
.
Trait Implementations§
source§impl Clone for RateLimitIp
impl Clone for RateLimitIp
source§fn clone(&self) -> RateLimitIp
fn clone(&self) -> RateLimitIp
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 RateLimitIp
impl Debug for RateLimitIp
source§impl PartialEq for RateLimitIp
impl PartialEq for RateLimitIp
source§fn eq(&self, other: &RateLimitIp) -> bool
fn eq(&self, other: &RateLimitIp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RateLimitIp
Auto Trait Implementations§
impl Freeze for RateLimitIp
impl RefUnwindSafe for RateLimitIp
impl Send for RateLimitIp
impl Sync for RateLimitIp
impl Unpin for RateLimitIp
impl UnwindSafe for RateLimitIp
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>
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.