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 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 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 for NowPlaying
impl PartialEq for NowPlaying
impl StructuralPartialEq for NowPlaying
Auto Trait Implementations§
impl Freeze for NowPlaying
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