#[non_exhaustive]pub struct AwsWafRulePredicateListDetails {
pub data_id: Option<String>,
pub negated: bool,
pub type: Option<String>,
}Expand description
Provides details about the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_id: Option<String>A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId.
negated: boolSpecifies if you want WAF to allow, block, or count requests based on the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet.
type: Option<String>The type of predicate in a rule, such as ByteMatch or IPSet.
Implementations
sourceimpl AwsWafRulePredicateListDetails
impl AwsWafRulePredicateListDetails
sourcepub fn data_id(&self) -> Option<&str>
pub fn data_id(&self) -> Option<&str>
A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId.
sourceimpl AwsWafRulePredicateListDetails
impl AwsWafRulePredicateListDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsWafRulePredicateListDetails.
Trait Implementations
sourceimpl Clone for AwsWafRulePredicateListDetails
impl Clone for AwsWafRulePredicateListDetails
sourcefn clone(&self) -> AwsWafRulePredicateListDetails
fn clone(&self) -> AwsWafRulePredicateListDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<AwsWafRulePredicateListDetails> for AwsWafRulePredicateListDetails
impl PartialEq<AwsWafRulePredicateListDetails> for AwsWafRulePredicateListDetails
sourcefn eq(&self, other: &AwsWafRulePredicateListDetails) -> bool
fn eq(&self, other: &AwsWafRulePredicateListDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AwsWafRulePredicateListDetails) -> bool
fn ne(&self, other: &AwsWafRulePredicateListDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for AwsWafRulePredicateListDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsWafRulePredicateListDetails
impl Send for AwsWafRulePredicateListDetails
impl Sync for AwsWafRulePredicateListDetails
impl Unpin for AwsWafRulePredicateListDetails
impl UnwindSafe for AwsWafRulePredicateListDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more