pub struct LibraryPlaylistAttributes {
pub artwork: Option<Artwork>,
pub can_edit: bool,
pub date_added: Option<OffsetDateTime>,
pub description: Option<DescriptionAttribute>,
pub has_catalog: bool,
pub name: String,
pub play_params: Option<PlayParameters>,
pub is_public: bool,
pub track_types: Option<Vec<LibraryTrackTypes>>,
}
Expand description
Library playlist attributes
Fields§
§artwork: Option<Artwork>
Playlist artwork
can_edit: bool
Indicates whether the playlist is editable
date_added: Option<OffsetDateTime>
The date and time the playlist was added to the user’s library. In YYYY-MM-DDThh:mm:ssZ ISO 8601 format
description: Option<DescriptionAttribute>
A description of the playlist
has_catalog: bool
Indicates whether the playlist has a representation in the Apple Music catalog
name: String
The localized name of the playlist
play_params: Option<PlayParameters>
The parameters to use to play back the tracks in the playlist
is_public: bool
A flag to indicate whether the library playlist is a public playlist
track_types: Option<Vec<LibraryTrackTypes>>
(Extended) The resource types that are present in the tracks of the library playlist
Trait Implementations§
Source§impl Clone for LibraryPlaylistAttributes
impl Clone for LibraryPlaylistAttributes
Source§fn clone(&self) -> LibraryPlaylistAttributes
fn clone(&self) -> LibraryPlaylistAttributes
Returns a duplicate 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 LibraryPlaylistAttributes
impl Debug for LibraryPlaylistAttributes
Source§impl Default for LibraryPlaylistAttributes
impl Default for LibraryPlaylistAttributes
Source§fn default() -> LibraryPlaylistAttributes
fn default() -> LibraryPlaylistAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LibraryPlaylistAttributeswhere
LibraryPlaylistAttributes: Default,
impl<'de> Deserialize<'de> for LibraryPlaylistAttributeswhere
LibraryPlaylistAttributes: Default,
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 Hash for LibraryPlaylistAttributes
impl Hash for LibraryPlaylistAttributes
impl Eq for LibraryPlaylistAttributes
impl StructuralPartialEq for LibraryPlaylistAttributes
Auto Trait Implementations§
impl Freeze for LibraryPlaylistAttributes
impl RefUnwindSafe for LibraryPlaylistAttributes
impl Send for LibraryPlaylistAttributes
impl Sync for LibraryPlaylistAttributes
impl Unpin for LibraryPlaylistAttributes
impl UnwindSafe for LibraryPlaylistAttributes
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