#[non_exhaustive]pub struct AwsWafv2CustomRequestHandlingDetails { /* private fields */ }
Expand description
Custom request handling behavior that inserts custom headers into a web request. WAF uses custom request handling when the rule action doesn't block the request.
Implementations§
source§impl AwsWafv2CustomRequestHandlingDetails
impl AwsWafv2CustomRequestHandlingDetails
sourcepub fn insert_headers(&self) -> Option<&[AwsWafv2CustomHttpHeader]>
pub fn insert_headers(&self) -> Option<&[AwsWafv2CustomHttpHeader]>
The HTTP headers to insert into the request.
source§impl AwsWafv2CustomRequestHandlingDetails
impl AwsWafv2CustomRequestHandlingDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsWafv2CustomRequestHandlingDetails
.
Trait Implementations§
source§impl Clone for AwsWafv2CustomRequestHandlingDetails
impl Clone for AwsWafv2CustomRequestHandlingDetails
source§fn clone(&self) -> AwsWafv2CustomRequestHandlingDetails
fn clone(&self) -> AwsWafv2CustomRequestHandlingDetails
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 PartialEq<AwsWafv2CustomRequestHandlingDetails> for AwsWafv2CustomRequestHandlingDetails
impl PartialEq<AwsWafv2CustomRequestHandlingDetails> for AwsWafv2CustomRequestHandlingDetails
source§fn eq(&self, other: &AwsWafv2CustomRequestHandlingDetails) -> bool
fn eq(&self, other: &AwsWafv2CustomRequestHandlingDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.