pub struct ExtendedStatus {
pub player_state: ExtendedPlayerState,
pub media_session_id: Option<i32>,
pub media: Option<Media>,
}Expand description
Status of loading the next media
Fields§
§player_state: ExtendedPlayerStateDescribes the state of the player.
media_session_id: Option<i32>Unique ID for the playback of this specific session. This ID is set by the receiver at LOAD and can be used to identify a specific instance of a playback. For example, two playbacks of “Wish you were here” within the same session would each have a unique mediaSessionId.
media: Option<Media>Full description of the content that is being played back. Only be returned in a status messages if the Media has changed.
Trait Implementations§
Source§impl Clone for ExtendedStatus
impl Clone for ExtendedStatus
Source§fn clone(&self) -> ExtendedStatus
fn clone(&self) -> ExtendedStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedStatus
impl Debug for ExtendedStatus
Source§impl PartialEq for ExtendedStatus
impl PartialEq for ExtendedStatus
impl StructuralPartialEq for ExtendedStatus
Auto Trait Implementations§
impl Freeze for ExtendedStatus
impl RefUnwindSafe for ExtendedStatus
impl Send for ExtendedStatus
impl Sync for ExtendedStatus
impl Unpin for ExtendedStatus
impl UnwindSafe for ExtendedStatus
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