Struct google_youtube3::api::SubscriptionSnippet[][src]

pub struct SubscriptionSnippet {
    pub channel_id: Option<String>,
    pub channel_title: Option<String>,
    pub description: Option<String>,
    pub published_at: Option<String>,
    pub resource_id: Option<ResourceId>,
    pub thumbnails: Option<ThumbnailDetails>,
    pub title: Option<String>,
}

Basic details about a subscription, including title, description and thumbnails of the subscribed item.

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

Fields

channel_id: Option<String>

The ID that YouTube uses to uniquely identify the subscriber's channel.

channel_title: Option<String>

Channel title for the channel that the subscription belongs to.

description: Option<String>

The subscription's details.

published_at: Option<String>

The date and time that the subscription was created.

resource_id: Option<ResourceId>

The id object contains information about the channel that the user subscribed to.

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 subscription's title.

Trait Implementations

impl Clone for SubscriptionSnippet[src]

impl Debug for SubscriptionSnippet[src]

impl Default for SubscriptionSnippet[src]

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

impl Part for SubscriptionSnippet[src]

impl Serialize for SubscriptionSnippet[src]

Auto Trait Implementations

impl RefUnwindSafe for SubscriptionSnippet[src]

impl Send for SubscriptionSnippet[src]

impl Sync for SubscriptionSnippet[src]

impl Unpin for SubscriptionSnippet[src]

impl UnwindSafe for SubscriptionSnippet[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument 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 = 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.