pub struct AdminPlaylistExport {Show 14 fields
pub id: PlaylistId,
pub description: String,
pub display_name: String,
pub premium: bool,
pub blocked: bool,
pub author_id: Option<UserId>,
pub author_name: Option<String>,
pub likes: i64,
pub plays: i64,
pub rating: Option<PlaylistRating>,
pub privacy_level: PrivacyLevel,
pub created_at: DateTime<Utc>,
pub published_at: Option<DateTime<Utc>>,
pub language: String,
}Expand description
A playlists export representation.
Fields§
§id: PlaylistIdplaylist ID
description: StringDescription of the playlist.
display_name: StringThe playlist’s name.
Whether the resource is a premium resource
blocked: boolif true does not appear in search
The current author
The author’s name, as “{given_name} {family_name}”.
likes: i64Number of likes on playlist
plays: i64Number of plays playlist
rating: Option<PlaylistRating>Rating for playlist, weighted for playlist search
privacy_level: PrivacyLevelThe privacy level on the playlist.
created_at: DateTime<Utc>When the playlist was first created.
published_at: Option<DateTime<Utc>>When (if at all) the playlist has published a draft to live.
language: StringThe language the playlist uses.
Trait Implementations§
Source§impl Clone for AdminPlaylistExport
impl Clone for AdminPlaylistExport
Source§fn clone(&self) -> AdminPlaylistExport
fn clone(&self) -> AdminPlaylistExport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdminPlaylistExport
impl Debug for AdminPlaylistExport
Source§impl<'de> Deserialize<'de> for AdminPlaylistExport
impl<'de> Deserialize<'de> for AdminPlaylistExport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdminPlaylistExport
impl RefUnwindSafe for AdminPlaylistExport
impl Send for AdminPlaylistExport
impl Sync for AdminPlaylistExport
impl Unpin for AdminPlaylistExport
impl UnwindSafe for AdminPlaylistExport
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