pub struct Status {Show 17 fields
pub sleep_remaining: Option<u64>,
pub podcast_auto_next: bool,
pub skip_back: u32,
pub skip_forward: u32,
pub episode: Option<Episode>,
pub seekable: bool,
pub speed: f64,
pub station: Option<Station>,
pub title: String,
pub message: String,
pub playback_state: PlaybackState,
pub volume: u8,
pub muted: bool,
pub recording_state: RecordingState,
pub recording_ms: u64,
pub recording_path: String,
pub source_url: String,
}Fields§
§sleep_remaining: Option<u64>§podcast_auto_next: bool§skip_back: u32§skip_forward: u32§episode: Option<Episode>§seekable: bool§speed: f64§station: Option<Station>§title: String§message: String§playback_state: PlaybackState§volume: u8§muted: bool§recording_state: RecordingState§recording_ms: u64§recording_path: String§source_url: StringImplementations§
Trait Implementations§
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Forget for Status
impl Freeze for Status
impl Move for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more