Struct google_youtube3::api::ChannelSnippet
source · pub struct ChannelSnippet {
pub country: Option<String>,
pub custom_url: Option<String>,
pub default_language: Option<String>,
pub description: Option<String>,
pub localized: Option<ChannelLocalization>,
pub published_at: Option<DateTime<Utc>>,
pub thumbnails: Option<ThumbnailDetails>,
pub title: Option<String>,
}
Expand description
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§
§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.
description: Option<String>
The description of the channel.
localized: Option<ChannelLocalization>
Localized title and description, read-only.
published_at: Option<DateTime<Utc>>
The date and time that the channel was created.
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. Thumbnail images might be empty for newly created channels and might take up to one day to populate.
title: Option<String>
The channel’s title.
Trait Implementations§
source§impl Clone for ChannelSnippet
impl Clone for ChannelSnippet
source§fn clone(&self) -> ChannelSnippet
fn clone(&self) -> ChannelSnippet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more