Struct aws_sdk_wafv2::types::RateLimitHttpMethod
source · #[non_exhaustive]pub struct RateLimitHttpMethod {}
Expand description
Specifies the request's HTTP method as an aggregate key for a rate-based rule. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method as your custom key, then each method fully defines an aggregation instance.
JSON specification: "RateLimitHTTPMethod": {}
Implementations§
source§impl RateLimitHttpMethod
impl RateLimitHttpMethod
sourcepub fn builder() -> RateLimitHttpMethodBuilder
pub fn builder() -> RateLimitHttpMethodBuilder
Creates a new builder-style object to manufacture RateLimitHttpMethod
.
Trait Implementations§
source§impl Clone for RateLimitHttpMethod
impl Clone for RateLimitHttpMethod
source§fn clone(&self) -> RateLimitHttpMethod
fn clone(&self) -> RateLimitHttpMethod
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 RateLimitHttpMethod
impl Debug for RateLimitHttpMethod
source§impl PartialEq for RateLimitHttpMethod
impl PartialEq for RateLimitHttpMethod
source§fn eq(&self, other: &RateLimitHttpMethod) -> bool
fn eq(&self, other: &RateLimitHttpMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RateLimitHttpMethod
Auto Trait Implementations§
impl Freeze for RateLimitHttpMethod
impl RefUnwindSafe for RateLimitHttpMethod
impl Send for RateLimitHttpMethod
impl Sync for RateLimitHttpMethod
impl Unpin for RateLimitHttpMethod
impl UnwindSafe for RateLimitHttpMethod
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.