[][src]Struct google_youtube3::VideoSnippet

pub struct VideoSnippet {
    pub description: Option<String>,
    pub tags: Option<Vec<String>>,
    pub default_audio_language: Option<String>,
    pub channel_id: Option<String>,
    pub published_at: Option<String>,
    pub live_broadcast_content: Option<String>,
    pub default_language: Option<String>,
    pub thumbnails: Option<ThumbnailDetails>,
    pub title: Option<String>,
    pub category_id: Option<String>,
    pub localized: Option<VideoLocalization>,
    pub channel_title: Option<String>,
}

Basic details about a video, including title, description, uploader, thumbnails and category.

This type is not used in any activity, and only used as part of another schema.

Fields

description: Option<String>

The video's description.

tags: Option<Vec<String>>

A list of keyword tags associated with the video. Tags may contain spaces.

default_audio_language: Option<String>

The default_audio_language property specifies the language spoken in the video's default audio track.

channel_id: Option<String>

The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.

published_at: Option<String>

The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

live_broadcast_content: Option<String>

Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.

default_language: Option<String>

The language of the videos's default snippet.

thumbnails: Option<ThumbnailDetails>

A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

title: Option<String>

The video's title.

category_id: Option<String>

The YouTube video category associated with the video.

localized: Option<VideoLocalization>

Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)

channel_title: Option<String>

Channel title for the channel that the video belongs to.

Trait Implementations

impl Part for VideoSnippet[src]

impl Default for VideoSnippet[src]

impl Clone for VideoSnippet[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VideoSnippet[src]

impl Serialize for VideoSnippet[src]

impl<'de> Deserialize<'de> for VideoSnippet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]