Struct mpd::song::Song [] [src]

pub struct Song {
    pub file: String,
    pub name: Option<String>,
    pub title: Option<String>,
    pub last_mod: Option<Tm>,
    pub duration: Option<Duration>,
    pub place: Option<QueuePlace>,
    pub range: Option<Range>,
    pub tags: BTreeMap<String, String>,
}

Song data

Fields

filename

name (for streams)

title

last modification time

duration (in seconds resolution)

place in the queue (if queued for playback)

range to play (if queued for playback and range was set)

arbitrary tags, like album, artist etc

Trait Implementations

impl Debug for Song
[src]

Formats the value using the given formatter.

impl Clone for Song
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Song
[src]

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

This method tests for !=.

impl Default for Song
[src]

Returns the "default value" for a type. Read more

impl Encodable for Song
[src]

Serialize a value using an Encoder.