pub struct Playlist {
pub id: String,
pub name: String,
pub owner: Option<String>,
pub collaborative: bool,
pub public: Option<bool>,
}Expand description
Minimal playlist representation for listing and selection.
Fields§
§id: String§name: String§owner: Option<String>§collaborative: bool§public: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Playlist
impl<'de> Deserialize<'de> for Playlist
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 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