[−][src]Struct rusoto_waf_regional::SizeConstraintSetUpdate
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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 Clone for SizeConstraintSetUpdate
[src]
pub fn clone(&self) -> SizeConstraintSetUpdate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SizeConstraintSetUpdate
[src]
impl Default for SizeConstraintSetUpdate
[src]
pub fn default() -> SizeConstraintSetUpdate
[src]
impl PartialEq<SizeConstraintSetUpdate> for SizeConstraintSetUpdate
[src]
pub fn eq(&self, other: &SizeConstraintSetUpdate) -> bool
[src]
pub fn ne(&self, other: &SizeConstraintSetUpdate) -> bool
[src]
impl Serialize for SizeConstraintSetUpdate
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SizeConstraintSetUpdate
[src]
Auto Trait Implementations
impl RefUnwindSafe for SizeConstraintSetUpdate
[src]
impl Send for SizeConstraintSetUpdate
[src]
impl Sync for SizeConstraintSetUpdate
[src]
impl Unpin for SizeConstraintSetUpdate
[src]
impl UnwindSafe for SizeConstraintSetUpdate
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,