pub struct Restrictions {
pub geo_restriction: GeoRestriction,
}
Expand description
A complex type that identifies ways in which you want to restrict distribution of your content.
Fields§
§geo_restriction: 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.
Trait Implementations§
Source§impl Clone for Restrictions
impl Clone for Restrictions
Source§fn clone(&self) -> Restrictions
fn clone(&self) -> Restrictions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Restrictions
impl Debug for Restrictions
Source§impl Default for Restrictions
impl Default for Restrictions
Source§fn default() -> Restrictions
fn default() -> Restrictions
Returns the “default value” for a type. Read more
Source§impl PartialEq for Restrictions
impl PartialEq for Restrictions
impl StructuralPartialEq for Restrictions
Auto Trait Implementations§
impl Freeze for Restrictions
impl RefUnwindSafe for Restrictions
impl Send for Restrictions
impl Sync for Restrictions
impl Unpin for Restrictions
impl UnwindSafe for Restrictions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more