pub struct PlaylistTrack {
pub track_token: String,
pub music_id: String,
pub station_id: String,
pub audio_url_map: AudioQuality,
pub artist_name: String,
pub album_name: String,
pub song_name: String,
pub song_rating: u32,
pub optional: HashMap<String, Value>,
}Expand description
Represents a track (song) entry in a playlist.
Fields§
§track_token: StringThe unique id (token) for the track to be played.
music_id: StringThe music id (token) used with GetTrack to request additional track information.
station_id: StringThe unique id (token) for the station from which this track was requested.
audio_url_map: AudioQualityThe default audio streams available for this track.
artist_name: StringThe name of the artist for this track.
album_name: StringThe name of the album for this track.
song_name: StringThe name of the song for this track.
song_rating: u32The rating of the song for this track.
optional: HashMap<String, Value>Additional, optional fields in the response
Trait Implementations§
Source§impl Clone for PlaylistTrack
impl Clone for PlaylistTrack
Source§fn clone(&self) -> PlaylistTrack
fn clone(&self) -> PlaylistTrack
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 PlaylistTrack
impl Debug for PlaylistTrack
Source§impl<'de> Deserialize<'de> for PlaylistTrack
impl<'de> Deserialize<'de> for PlaylistTrack
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 PlaylistTrack
impl RefUnwindSafe for PlaylistTrack
impl Send for PlaylistTrack
impl Sync for PlaylistTrack
impl Unpin for PlaylistTrack
impl UnwindSafe for PlaylistTrack
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