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

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.

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]

Returns the "default value" for a type. Read more

impl Clone for VideoContentDetailsRegionRestriction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VideoContentDetailsRegionRestriction
[src]

Formats the value using the given formatter. Read more

impl Part for VideoContentDetailsRegionRestriction
[src]

Auto Trait Implementations