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

The track name.

The album name.

The artist name.

Trait Implementations

impl Clone for SimpleTrack
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<&'a Track> for SimpleTrack
[src]

Implements From<Track> for SimpleTrack.

Performs the conversion.

impl<'a> From<&'a SpotifyStatus> for SimpleTrack
[src]

Implements From<SpotifyStatus> for SimpleTrack.

Performs the conversion.

impl Display for SimpleTrack
[src]

Implements fmt::Display for SimpleTrack.

Formats the value using the given formatter.