[−][src]Struct async_mpd::Status
Mpd status response
Fields
partition: Option<String>Name of current partition
volume: Option<u8>Volume (0 - 100)
repeat: boolrandom: boolsingle: String0, 1 or Oneshot
consume: boolplaylist: u32Playlist 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: Stringbitrate: Option<u16>Instantaneous bitrate in kbps
xfade: Option<u32>crossfade in seconds
audio: Option<String>updating_db: Option<u32>error: Option<String>Trait Implementations
impl Debug for Status[src]
impl Default for Status[src]
impl<'de> Deserialize<'de> for Status[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for Status[src]
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,