pub struct PlaylistItemSnippet {
pub channel_id: Option<String>,
pub channel_title: Option<String>,
pub description: Option<String>,
pub playlist_id: Option<String>,
pub position: Option<u32>,
pub published_at: Option<DateTime<Utc>>,
pub resource_id: Option<ResourceId>,
pub thumbnails: Option<ThumbnailDetails>,
pub title: Option<String>,
pub video_owner_channel_id: Option<String>,
pub video_owner_channel_title: Option<String>,
}
Expand description
Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15
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 user that added the item to the playlist.
channel_title: Option<String>
Channel title for the channel that the playlist item belongs to.
description: Option<String>
The item’s description.
playlist_id: Option<String>
The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
position: Option<u32>
The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth.
published_at: Option<DateTime<Utc>>
The date and time that the item was added to the playlist.
resource_id: Option<ResourceId>
The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.
thumbnails: Option<ThumbnailDetails>
A map of thumbnail images associated with the playlist item. 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 item’s title.
video_owner_channel_id: Option<String>
Channel id for the channel this video belongs to.
video_owner_channel_title: Option<String>
Channel title for the channel this video belongs to.
Trait Implementations§
Source§impl Clone for PlaylistItemSnippet
impl Clone for PlaylistItemSnippet
Source§fn clone(&self) -> PlaylistItemSnippet
fn clone(&self) -> PlaylistItemSnippet
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PlaylistItemSnippet
impl Debug for PlaylistItemSnippet
Source§impl Default for PlaylistItemSnippet
impl Default for PlaylistItemSnippet
Source§fn default() -> PlaylistItemSnippet
fn default() -> PlaylistItemSnippet
Source§impl<'de> Deserialize<'de> for PlaylistItemSnippet
impl<'de> Deserialize<'de> for PlaylistItemSnippet
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>,
Source§impl Serialize for PlaylistItemSnippet
impl Serialize for PlaylistItemSnippet
impl Part for PlaylistItemSnippet
Auto Trait Implementations§
impl Freeze for PlaylistItemSnippet
impl RefUnwindSafe for PlaylistItemSnippet
impl Send for PlaylistItemSnippet
impl Sync for PlaylistItemSnippet
impl Unpin for PlaylistItemSnippet
impl UnwindSafe for PlaylistItemSnippet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more