pub struct PlaylistSummary {Show 13 fields
pub id: String,
pub name: String,
pub kinds: Kinds,
pub owner_kind: PlaylistOwnerKind,
pub visibility: Visibility,
pub can_edit: bool,
pub can_manage: bool,
pub revision: u64,
pub pinned: Option<u32>,
pub builtin: Option<Builtin>,
pub owner_name: Option<String>,
pub artwork: Option<ArtworkId>,
pub custom_art: bool,
}Expand description
A playlist as one user sees it, without its entries.
Fields§
§id: String§name: String§kinds: Kinds§owner_kind: PlaylistOwnerKind§visibility: Visibility§can_edit: boolThey may change its entries (EditPlaylist).
can_manage: boolThey may rename it, change its kinds and sharing
(UpdatePlaylist), and delete it.
revision: u64What an EditPlaylist names; raised by every change.
pinned: Option<u32>Its place in their Pinned (0 first), or None when not pinned.
builtin: Option<Builtin>Which built-in playlist it is (PX-43), or None for one a user
made: what a client lists Liked and All first by, and hides
rename, share and delete for.
owner_name: Option<String>What its owner is shown as: what a row says “Alice’s” by. None
for an owner no longer here.
artwork: Option<ArtworkId>Its picture (PX-53), fetched as any artwork is: the cover an editor uploaded; else a 2×2 mosaic of the first four different album covers or posters in it; one alone when it has fewer; a placeholder when it has none. Liked’s and All’s are fixed tiles. Changes when any of that does.
custom_art: boolartwork is a cover an editor uploaded, which RemovePlaylistArt
takes away; false for a mosaic, a placeholder or a built-in tile.