pub struct LibraryPlaylist {
pub header: ResourceHeader,
pub attributes: Option<LibraryPlaylistAttributes>,
pub relationships: LibraryPlaylistRelationships,
}Expand description
Library playlist
Fields§
§header: ResourceHeaderResource header
attributes: Option<LibraryPlaylistAttributes>Library playlist attributes
relationships: LibraryPlaylistRelationshipsLibrary playlist relationships
Implementations§
Source§impl LibraryPlaylist
impl LibraryPlaylist
Sourcepub fn get<'a>() -> LibraryPlaylistGetRequestBuilder<'a>
pub fn get<'a>() -> LibraryPlaylistGetRequestBuilder<'a>
Get library playlist request builder
Sourcepub fn create<'localization>(
name: &str,
) -> LibraryPlaylistCreateBuilder<'localization, '_>
pub fn create<'localization>( name: &str, ) -> LibraryPlaylistCreateBuilder<'localization, '_>
Create a new library playlist
Trait Implementations§
Source§impl Clone for LibraryPlaylist
impl Clone for LibraryPlaylist
Source§fn clone(&self) -> LibraryPlaylist
fn clone(&self) -> LibraryPlaylist
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 LibraryPlaylist
impl Debug for LibraryPlaylist
Source§impl Default for LibraryPlaylist
impl Default for LibraryPlaylist
Source§fn default() -> LibraryPlaylist
fn default() -> LibraryPlaylist
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LibraryPlaylist
impl<'de> Deserialize<'de> for LibraryPlaylist
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 From<LibraryPlaylist> for Resource
impl From<LibraryPlaylist> for Resource
Source§fn from(data: LibraryPlaylist) -> Self
fn from(data: LibraryPlaylist) -> Self
Converts to this type from the input type.
Source§impl Hash for LibraryPlaylist
impl Hash for LibraryPlaylist
Source§impl PartialEq for LibraryPlaylist
impl PartialEq for LibraryPlaylist
Source§impl Serialize for LibraryPlaylist
impl Serialize for LibraryPlaylist
impl Eq for LibraryPlaylist
impl StructuralPartialEq for LibraryPlaylist
Auto Trait Implementations§
impl Freeze for LibraryPlaylist
impl RefUnwindSafe for LibraryPlaylist
impl Send for LibraryPlaylist
impl Sync for LibraryPlaylist
impl Unpin for LibraryPlaylist
impl UnwindSafe for LibraryPlaylist
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