Struct aws_sdk_cloudfront::model::Restrictions [−][src]
#[non_exhaustive]pub struct Restrictions {
pub geo_restriction: Option<GeoRestriction>,
}
Expand description
A complex type that identifies ways in which you want to restrict distribution of your content.
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.geo_restriction: Option<GeoRestriction>
A complex type that controls the countries in which your content is distributed. CloudFront
determines the location of your users using MaxMind
GeoIP databases.
Implementations
A complex type that controls the countries in which your content is distributed. CloudFront
determines the location of your users using MaxMind
GeoIP databases.
Creates a new builder-style object to manufacture Restrictions
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 Restrictions
impl Send for Restrictions
impl Sync for Restrictions
impl Unpin for Restrictions
impl UnwindSafe for Restrictions
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