Struct rusoto_waf_regional::SizeConstraintSetUpdate [−][src]
pub struct SizeConstraintSetUpdate { pub action: String, pub size_constraint: SizeConstraint, }
Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the specification to a SizeConstraintSet or delete it from a SizeConstraintSet
.
Fields
action: String
Specify INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE
to remove a SizeConstraintSetUpdate
from a SizeConstraintSet
.
size_constraint: SizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size
, ComparisonOperator
, and FieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes of FieldToMatch
". If that expression is true, the SizeConstraint
is considered to match.
Trait Implementations
impl Default for SizeConstraintSetUpdate
[src]
impl Default for SizeConstraintSetUpdate
fn default() -> SizeConstraintSetUpdate
[src]
fn default() -> SizeConstraintSetUpdate
Returns the "default value" for a type. Read more
impl Debug for SizeConstraintSetUpdate
[src]
impl Debug for SizeConstraintSetUpdate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SizeConstraintSetUpdate
[src]
impl Clone for SizeConstraintSetUpdate
fn clone(&self) -> SizeConstraintSetUpdate
[src]
fn clone(&self) -> SizeConstraintSetUpdate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for SizeConstraintSetUpdate
[src]
impl PartialEq for SizeConstraintSetUpdate
fn eq(&self, other: &SizeConstraintSetUpdate) -> bool
[src]
fn eq(&self, other: &SizeConstraintSetUpdate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SizeConstraintSetUpdate) -> bool
[src]
fn ne(&self, other: &SizeConstraintSetUpdate) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SizeConstraintSetUpdate
impl Send for SizeConstraintSetUpdate
impl Sync for SizeConstraintSetUpdate
impl Sync for SizeConstraintSetUpdate