Struct mpris_server::Playlist
source · pub struct Playlist {
pub id: PlaylistId,
pub name: String,
pub icon: Uri,
}Expand description
A data structure describing a playlist.
See MaybePlaylist for a data structure that may or may not contain a
playlist.
Fields§
§id: PlaylistIdA unique identifier for the playlist.
This should remain the same if the playlist is renamed.
name: StringThe name of the playlist, typically given by the user.
icon: UriThe URI of an (optional) icon.
Trait Implementations§
source§impl From<Playlist> for MaybePlaylist
impl From<Playlist> for MaybePlaylist
source§impl PartialEq for Playlist
impl PartialEq for Playlist
impl Eq for Playlist
impl StructuralEq for Playlist
impl StructuralPartialEq for Playlist
Auto Trait Implementations§
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
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more