pub struct ActivityContentDetailsPlaylistItem {
pub playlist_id: Option<String>,
pub playlist_item_id: Option<String>,
pub resource_id: Option<ResourceId>,
}
Expand description
Information about a new playlist item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§playlist_id: Option<String>
The value that YouTube uses to uniquely identify the playlist.
playlist_item_id: Option<String>
ID of the item within the playlist.
resource_id: Option<ResourceId>
The resourceId object contains information about the resource that was added to the playlist.
Trait Implementations§
source§impl Clone for ActivityContentDetailsPlaylistItem
impl Clone for ActivityContentDetailsPlaylistItem
source§fn clone(&self) -> ActivityContentDetailsPlaylistItem
fn clone(&self) -> ActivityContentDetailsPlaylistItem
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 Default for ActivityContentDetailsPlaylistItem
impl Default for ActivityContentDetailsPlaylistItem
source§fn default() -> ActivityContentDetailsPlaylistItem
fn default() -> ActivityContentDetailsPlaylistItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivityContentDetailsPlaylistItem
impl<'de> Deserialize<'de> for ActivityContentDetailsPlaylistItem
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
impl Part for ActivityContentDetailsPlaylistItem
Auto Trait Implementations§
impl RefUnwindSafe for ActivityContentDetailsPlaylistItem
impl Send for ActivityContentDetailsPlaylistItem
impl Sync for ActivityContentDetailsPlaylistItem
impl Unpin for ActivityContentDetailsPlaylistItem
impl UnwindSafe for ActivityContentDetailsPlaylistItem
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