Struct mpd::stats::Stats [] [src]

pub struct Stats {
    pub artists: u32,
    pub albums: u32,
    pub songs: u32,
    pub uptime: Duration,
    pub playtime: Duration,
    pub db_playtime: Duration,
    pub db_update: Timespec,
}

DB and playback statistics

Fields

number of artists in DB

number of albums in DB

number of songs in DB

total MPD uptime, seconds resolution

total playback time, seconds resolution

total playback time for all songs in DB, seconds resolution

last DB update timestamp, seconds resolution

Trait Implementations

impl Debug for Stats
[src]

Formats the value using the given formatter.

impl Clone for Stats
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Stats
[src]

impl PartialEq for Stats
[src]

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

This method tests for !=.

impl Encodable for Stats
[src]

Serialize a value using an Encoder.

impl Default for Stats
[src]

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