Struct aws_sdk_securityhub::model::AwsWafRateBasedRuleMatchPredicate [−][src]
#[non_exhaustive]pub struct AwsWafRateBasedRuleMatchPredicate {
pub data_id: Option<String>,
pub negated: bool,
pub type: Option<String>,
}
Expand description
A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.
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>
The unique identifier for the predicate.
negated: bool
If set to true
, then the rule actions are performed on requests that match the predicate settings.
If set to false
, then the rule actions are performed on all requests except those that match the predicate settings.
type: Option<String>
The type of predicate.
Implementations
If set to true
, then the rule actions are performed on requests that match the predicate settings.
If set to false
, then the rule actions are performed on all requests except those that match the predicate settings.
Creates a new builder-style object to manufacture AwsWafRateBasedRuleMatchPredicate
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AwsWafRateBasedRuleMatchPredicate
impl Sync for AwsWafRateBasedRuleMatchPredicate
impl Unpin for AwsWafRateBasedRuleMatchPredicate
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more