Struct google_youtube3::api::VideoAgeGating
source · pub struct VideoAgeGating {
pub alcohol_content: Option<bool>,
pub restricted: Option<bool>,
pub video_game_rating: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§alcohol_content: Option<bool>
Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
restricted: Option<bool>
Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won’t be present.
video_game_rating: Option<String>
Video game rating, if any.
Trait Implementations§
source§impl Clone for VideoAgeGating
impl Clone for VideoAgeGating
source§fn clone(&self) -> VideoAgeGating
fn clone(&self) -> VideoAgeGating
Returns a copy 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 VideoAgeGating
impl Debug for VideoAgeGating
source§impl Default for VideoAgeGating
impl Default for VideoAgeGating
source§fn default() -> VideoAgeGating
fn default() -> VideoAgeGating
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoAgeGating
impl<'de> Deserialize<'de> for VideoAgeGating
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for VideoAgeGating
impl Serialize for VideoAgeGating
impl Part for VideoAgeGating
Auto Trait Implementations§
impl RefUnwindSafe for VideoAgeGating
impl Send for VideoAgeGating
impl Sync for VideoAgeGating
impl Unpin for VideoAgeGating
impl UnwindSafe for VideoAgeGating
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