Struct aws_sdk_wafv2::types::NoneAction
source · #[non_exhaustive]pub struct NoneAction {}
Expand description
Specifies that WAF should do nothing. This is used for the OverrideAction
setting on a Rule
when the rule uses a rule group reference statement.
This is used in the context of other settings, for example to specify values for RuleAction
and web ACL DefaultAction
.
JSON specification: "None": {}
Implementations§
source§impl NoneAction
impl NoneAction
sourcepub fn builder() -> NoneActionBuilder
pub fn builder() -> NoneActionBuilder
Creates a new builder-style object to manufacture NoneAction
.
Trait Implementations§
source§impl Clone for NoneAction
impl Clone for NoneAction
source§fn clone(&self) -> NoneAction
fn clone(&self) -> NoneAction
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 NoneAction
impl Debug for NoneAction
source§impl PartialEq for NoneAction
impl PartialEq for NoneAction
source§fn eq(&self, other: &NoneAction) -> bool
fn eq(&self, other: &NoneAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NoneAction
Auto Trait Implementations§
impl Freeze for NoneAction
impl RefUnwindSafe for NoneAction
impl Send for NoneAction
impl Sync for NoneAction
impl Unpin for NoneAction
impl UnwindSafe for NoneAction
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.