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 Debug for SimpleTrack
[src]

Formats the value using the given formatter.

impl Clone for SimpleTrack
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SimpleTrack
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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. Read more