Struct spotify::status::SimpleTrack
[−]
[src]
pub struct SimpleTrack {
pub name: String,
pub album: String,
pub artist: String,
}A simple track.
Provides an abstraction over the more
complicated and quite messy Track struct.
Fields
name: String
The track name.
album: String
The album name.
artist: String
The artist name.
Trait Implementations
impl Clone for SimpleTrack[src]
fn clone(&self) -> SimpleTrack
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> From<&'a Track> for SimpleTrack[src]
Implements From<Track> for SimpleTrack.
fn from(track: &'a Track) -> SimpleTrack
Performs the conversion.
impl<'a> From<&'a SpotifyStatus> for SimpleTrack[src]
Implements From<SpotifyStatus> for SimpleTrack.
fn from(status: &'a SpotifyStatus) -> SimpleTrack
Performs the conversion.
impl Display for SimpleTrack[src]
Implements fmt::Display for SimpleTrack.