Struct Playlist
pub struct Playlist {
pub playlist_id: Option<String>,
pub playlist_name: String,
pub playlist_coverpath: Option<String>,
pub playlist_song_count: f64,
pub playlist_desc: Option<String>,
pub playlist_path: Option<String>,
pub extension: Option<String>,
pub icon: Option<String>,
pub library_item: Option<bool>,
}Fields§
§playlist_id: Option<String>§playlist_name: String§playlist_coverpath: Option<String>§playlist_song_count: f64§playlist_desc: Option<String>§playlist_path: Option<String>§extension: Option<String>§icon: Option<String>§library_item: Option<bool>Trait Implementations§
§impl<'de> Deserialize<'de> for Playlist
impl<'de> Deserialize<'de> for Playlist
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Playlist, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Playlist, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for Playlist
impl Ord for Playlist
§impl PartialOrd for Playlist
impl PartialOrd for Playlist
§impl Serialize for Playlist
impl Serialize for Playlist
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq 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