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 Debug for VideoContentDetailsRegionRestriction
[src]
impl Clone for VideoContentDetailsRegionRestriction
[src]
fn clone(&self) -> VideoContentDetailsRegionRestriction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for VideoContentDetailsRegionRestriction
[src]
fn default() -> VideoContentDetailsRegionRestriction
Returns the "default value" for a type. Read more