Struct async_mpd::Status[][src]

pub struct Status {
Show 23 fields pub partition: Option<String>, pub volume: Option<u8>, pub repeat: bool, pub random: bool, pub single: String, pub consume: bool, pub playlist: u32, pub playlistlength: u32, pub song: Option<u32>, pub songid: Option<u32>, pub nextsong: Option<u32>, pub nextsongid: Option<u32>, pub time: Option<String>, pub elapsed: Option<Duration>, pub duration: Option<Duration>, pub mixrampdb: f32, pub mixrampdelay: Option<u32>, pub state: State, pub bitrate: Option<u16>, pub xfade: Option<u32>, pub audio: Option<String>, pub updating_db: Option<u32>, pub error: Option<String>,
}
Expand description

Mpd status response

Fields

partition: Option<String>

Name of current partition

volume: Option<u8>

Volume (0 - 100)

repeat: boolrandom: boolsingle: String

0, 1 or Oneshot

consume: boolplaylist: u32

Playlist version number

playlistlength: u32song: Option<u32>songid: Option<u32>nextsong: Option<u32>nextsongid: Option<u32>time: Option<String>elapsed: Option<Duration>duration: Option<Duration>mixrampdb: f32mixrampdelay: Option<u32>

mixrampdelay in seconds

state: State

Player status

bitrate: Option<u16>

Instantaneous bitrate in kbps

xfade: Option<u32>

crossfade in seconds

audio: Option<String>updating_db: Option<u32>error: Option<String>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.