Struct google_youtube3::api::SubscriptionSnippet
source · pub struct SubscriptionSnippet {
pub channel_id: Option<String>,
pub channel_title: Option<String>,
pub description: Option<String>,
pub published_at: Option<DateTime<Utc>>,
pub resource_id: Option<ResourceId>,
pub thumbnails: Option<ThumbnailDetails>,
pub title: Option<String>,
}
Expand description
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<DateTime<Utc>>
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§
source§impl Clone for SubscriptionSnippet
impl Clone for SubscriptionSnippet
source§fn clone(&self) -> SubscriptionSnippet
fn clone(&self) -> SubscriptionSnippet
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 SubscriptionSnippet
impl Debug for SubscriptionSnippet
source§impl Default for SubscriptionSnippet
impl Default for SubscriptionSnippet
source§fn default() -> SubscriptionSnippet
fn default() -> SubscriptionSnippet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionSnippet
impl<'de> Deserialize<'de> for SubscriptionSnippet
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 SubscriptionSnippet
impl Serialize for SubscriptionSnippet
impl Part for SubscriptionSnippet
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionSnippet
impl Send for SubscriptionSnippet
impl Sync for SubscriptionSnippet
impl Unpin for SubscriptionSnippet
impl UnwindSafe for SubscriptionSnippet
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