[][src]Struct google_youtube3::ChannelSnippet

pub struct ChannelSnippet {
    pub description: Option<String>,
    pub title: Option<String>,
    pub country: Option<String>,
    pub custom_url: Option<String>,
    pub default_language: Option<String>,
    pub published_at: Option<String>,
    pub localized: Option<ChannelLocalization>,
    pub thumbnails: Option<ThumbnailDetails>,
}

Basic details about a channel, including title, description and thumbnails.

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

Fields

description: Option<String>

The description of the channel.

title: Option<String>

The channel's title.

country: Option<String>

The country of the channel.

custom_url: Option<String>

The custom url of the channel.

default_language: Option<String>

The language of the channel's default title and description.

published_at: Option<String>

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

localized: Option<ChannelLocalization>

Localized title and description, read-only.

thumbnails: Option<ThumbnailDetails>

A map of thumbnail images associated with the channel. 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.

When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response.

Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain.

Trait Implementations

impl Part for ChannelSnippet[src]

impl Clone for ChannelSnippet[src]

impl Default for ChannelSnippet[src]

impl Debug for ChannelSnippet[src]

impl Serialize for ChannelSnippet[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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

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