pub struct NowPlaying {
pub current_song_id: LegacyId,
pub current_position: i32,
pub next_song_id: LegacyId,
pub next_position: i32,
pub sync_count: i32,
}
Fields§
§current_song_id: LegacyId
§current_position: i32
§next_song_id: LegacyId
§next_position: i32
§sync_count: i32
Trait Implementations§
source§impl BaseParser for NowPlaying
impl BaseParser for NowPlaying
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for NowPlaying
impl Clone for NowPlaying
source§fn clone(&self) -> NowPlaying
fn clone(&self) -> NowPlaying
Returns a copy 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 NowPlaying
impl Debug for NowPlaying
source§impl Default for NowPlaying
impl Default for NowPlaying
source§fn default() -> NowPlaying
fn default() -> NowPlaying
Returns the “default value” for a type. Read more
source§impl PacketVariable for NowPlaying
impl PacketVariable for NowPlaying
source§impl PartialEq<NowPlaying> for NowPlaying
impl PartialEq<NowPlaying> for NowPlaying
source§fn eq(&self, other: &NowPlaying) -> bool
fn eq(&self, other: &NowPlaying) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NowPlaying
Auto Trait Implementations§
impl RefUnwindSafe for NowPlaying
impl Send for NowPlaying
impl Sync for NowPlaying
impl Unpin for NowPlaying
impl UnwindSafe for NowPlaying
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