pub struct NowPlayingResponse {
pub artist: CorrectableString,
pub album: CorrectableString,
pub album_artist: CorrectableString,
pub track: CorrectableString,
}
Expand description
Response to a Now Playing request.
Represents a response to a Now Playing API request. This type can often be ignored by clients. All of the
fields are CorrectableString
types, which can be used to see if Last.fm applied any metadata correction
to your artist, song or album.
Fields§
§artist: CorrectableString
§album: CorrectableString
§album_artist: CorrectableString
§track: CorrectableString
Trait Implementations§
Source§impl Debug for NowPlayingResponse
impl Debug for NowPlayingResponse
Source§impl<'de> Deserialize<'de> for NowPlayingResponse
impl<'de> Deserialize<'de> for NowPlayingResponse
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 NowPlayingResponse
impl RefUnwindSafe for NowPlayingResponse
impl Send for NowPlayingResponse
impl Sync for NowPlayingResponse
impl Unpin for NowPlayingResponse
impl UnwindSafe for NowPlayingResponse
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