[−][src]Struct mparsed::Status
Current status as returned by status
.
Regarding optional volume
:
The volume is None if mpd is running without local audio output,
i.e. on a server with no pulse or alsa output configured.
Output via httpd might be used instead
but will result in empty volume
and audio
fields.
Fields
volume: Option<u8>
repeat: bool
random: bool
single: u8
consume: bool
playlist: u32
playlistlength: u32
state: State
song: Option<u32>
songid: Option<u32>
nextsong: Option<u32>
nextsongid: Option<u32>
elapsed: Option<Duration>
duration: Option<Duration>
bitrate: Option<u16>
xfade: Option<u8>
mixrampdb: f32
mixrampdelay: Option<u8>
audio: Option<String>
updating_db: Option<u32>
error: Option<String>
Trait Implementations
impl Clone for Status
[src]
impl Debug for Status
[src]
impl Default for Status
[src]
impl<'de> Deserialize<'de> for Status where
Status: Default,
[src]
Status: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Status> for Status
[src]
impl StructuralPartialEq 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,