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
file: String
                           filename
name: Option<String>
                           name (for streams)
title: Option<String>
                           title
last_mod: Option<Tm>
                           last modification time
duration: Option<Duration>
                           duration (in seconds resolution)
place: Option<QueuePlace>
                           place in the queue (if queued for playback)
range: Option<Range>
                           range to play (if queued for playback and range was set)
arbitrary tags, like album, artist etc
Trait Implementations
impl Debug for Song[src]
impl Clone for Song[src]
fn clone(&self) -> Song
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 PartialEq for Song[src]
fn eq(&self, __arg_0: &Song) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Song) -> bool
This method tests for !=.