pub struct Playlist {
pub id: String,
pub owner: UserRef,
pub name: String,
pub comment: Option<String>,
pub tracks: Vec<EntityRef>,
pub created_at: u64,
pub updated_at: u64,
}Expand description
One owner’s ordered, private selection, independent of catalog identifiers.
Repeated tracks and references to temporarily unavailable files are retained. There is no sharing flag: selecting another owner never grants access.
Fields§
§id: StringOpaque persistent identifier, generated independently of its contents.
owner: UserRefImmutable personal owner, not a mutable login name.
name: StringHuman-readable name, 1–256 UTF-8 bytes containing non-whitespace.
comment: Option<String>Optional description, at most 2048 UTF-8 bytes.
tracks: Vec<EntityRef>Stable track references in playback order; repetitions are meaningful.
created_at: u64Unix seconds when the playlist was created.
updated_at: u64Unix seconds when its content or description last changed.
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