Struct google_youtube3::VideoContentDetailsRegionRestriction [−][src]
pub struct VideoContentDetailsRegionRestriction { pub allowed: Option<Vec<String>>, pub blocked: Option<Vec<String>>, }
DEPRECATED Region restriction of the video.
This type is not used in any activity, and only used as part of another schema.
Fields
allowed: Option<Vec<String>>
A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
blocked: Option<Vec<String>>
A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
Trait Implementations
impl Default for VideoContentDetailsRegionRestriction
[src]
impl Default for VideoContentDetailsRegionRestriction
fn default() -> VideoContentDetailsRegionRestriction
[src]
fn default() -> VideoContentDetailsRegionRestriction
Returns the "default value" for a type. Read more
impl Clone for VideoContentDetailsRegionRestriction
[src]
impl Clone for VideoContentDetailsRegionRestriction
fn clone(&self) -> VideoContentDetailsRegionRestriction
[src]
fn clone(&self) -> VideoContentDetailsRegionRestriction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for VideoContentDetailsRegionRestriction
[src]
impl Debug for VideoContentDetailsRegionRestriction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for VideoContentDetailsRegionRestriction
[src]
impl Part for VideoContentDetailsRegionRestriction
Auto Trait Implementations
impl Send for VideoContentDetailsRegionRestriction
impl Send for VideoContentDetailsRegionRestriction
impl Sync for VideoContentDetailsRegionRestriction
impl Sync for VideoContentDetailsRegionRestriction