Struct aws_sdk_waf::model::GeoMatchConstraint
source ·
[−]#[non_exhaustive]pub struct GeoMatchConstraint {
pub type: Option<GeoMatchConstraintType>,
pub value: Option<GeoMatchConstraintValue>,
}Expand description
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.
The country from which web requests originate that you want AWS WAF to search for.
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.type: Option<GeoMatchConstraintType>The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.
value: Option<GeoMatchConstraintValue>The country that you want AWS WAF to search for.
Implementations
The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.
The country that you want AWS WAF to search for.
Creates a new builder-style object to manufacture GeoMatchConstraint
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 RefUnwindSafe for GeoMatchConstraint
impl Send for GeoMatchConstraint
impl Sync for GeoMatchConstraint
impl Unpin for GeoMatchConstraint
impl UnwindSafe for GeoMatchConstraint
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
