pub struct CurrentTrack {
pub title: Option<String>,
pub artist: Option<String>,
pub album: Option<String>,
pub album_art_uri: Option<String>,
pub uri: Option<String>,
}Expand description
Information about the currently playing track
Fields§
§title: Option<String>§artist: Option<String>§album: Option<String>§album_art_uri: Option<String>§uri: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for CurrentTrack
impl Clone for CurrentTrack
Source§fn clone(&self) -> CurrentTrack
fn clone(&self) -> CurrentTrack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CurrentTrack
impl Debug for CurrentTrack
Source§impl Default for CurrentTrack
impl Default for CurrentTrack
Source§impl<'de> Deserialize<'de> for CurrentTrack
impl<'de> Deserialize<'de> for CurrentTrack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CurrentTrack
impl PartialEq for CurrentTrack
Source§impl Property for CurrentTrack
impl Property for CurrentTrack
Source§impl Serialize for CurrentTrack
impl Serialize for CurrentTrack
Source§impl SonosProperty for CurrentTrack
impl SonosProperty for CurrentTrack
Source§fn to_change(&self) -> Option<PropertyChange>
fn to_change(&self) -> Option<PropertyChange>
Wrap this value in its
PropertyChange variant, for the change event
payload. Read moreimpl StructuralPartialEq for CurrentTrack
Auto Trait Implementations§
impl Freeze for CurrentTrack
impl RefUnwindSafe for CurrentTrack
impl Send for CurrentTrack
impl Sync for CurrentTrack
impl Unpin for CurrentTrack
impl UnsafeUnpin for CurrentTrack
impl UnwindSafe for CurrentTrack
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