pub struct Playlist {
pub id: PlaylistId,
pub name: String,
pub icon: Uri,
}
Expand description
A data structure describing a playlist.
Fields§
§id: PlaylistId
A unique identifier for the playlist.
This should remain the same if the playlist is renamed.
name: String
The name of the playlist, typically given by the user.
icon: Uri
The URI of an (optional) icon.
Trait Implementations§
impl Eq for Playlist
impl StructuralPartialEq for Playlist
Auto Trait Implementations§
impl Freeze for Playlist
impl RefUnwindSafe for Playlist
impl Send for Playlist
impl Sync for Playlist
impl Unpin for Playlist
impl UnwindSafe for Playlist
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