Struct Song
pub struct Song {
pub song: QueryableSong,
pub album: Option<QueryableAlbum>,
pub artists: Option<Vec<QueryableArtist>>,
pub genre: Option<Vec<QueryableGenre>>,
}
Fields§
§song: QueryableSong
§album: Option<QueryableAlbum>
§artists: Option<Vec<QueryableArtist>>
§genre: Option<Vec<QueryableGenre>>
Trait Implementations§
§impl<'de> Deserialize<'de> for Song
impl<'de> Deserialize<'de> for Song
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Song, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Song, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Song
impl Serialize for Song
§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<'__de> Decode<'__de> for Song
impl Encode for Song
impl Eq for Song
impl StructuralPartialEq for Song
Auto Trait Implementations§
impl Freeze for Song
impl RefUnwindSafe for Song
impl Send for Song
impl Sync for Song
impl Unpin for Song
impl UnwindSafe for Song
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