pub struct Playlist {
pub id: String,
pub name: String,
pub num_clips: u64,
}Expand description
One of the account’s own playlists, as listed by /api/playlist/me.
Carries only what playlist reconciliation needs: the stable id (the state
key), the display name (drives the .m3u8 file name and #PLAYLIST line),
and the member count for reporting. The ordered members are fetched
separately with SunoClient::get_playlist_clips.
Fields§
§id: StringThe playlist’s stable Suno id.
name: StringThe playlist’s display name.
num_clips: u64The number of clips Suno reports in the playlist.
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 UnsafeUnpin 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