pub struct NowPlayingInfo {
pub is_playing: Option<bool>,
pub title: Option<String>,
pub artist: Option<String>,
pub album: Option<String>,
pub album_cover: Option<DynamicImage>,
pub elapsed_time: Option<f64>,
pub duration: Option<f64>,
pub info_update_time: Option<SystemTime>,
pub bundle_id: Option<String>,
pub bundle_name: Option<String>,
pub bundle_icon: Option<DynamicImage>,
}Fields§
§is_playing: Option<bool>§title: Option<String>§artist: Option<String>§album: Option<String>§album_cover: Option<DynamicImage>§elapsed_time: Option<f64>§duration: Option<f64>§info_update_time: Option<SystemTime>§bundle_id: Option<String>§bundle_name: Option<String>§bundle_icon: Option<DynamicImage>Trait Implementations§
Source§impl Clone for NowPlayingInfo
impl Clone for NowPlayingInfo
Source§fn clone(&self) -> NowPlayingInfo
fn clone(&self) -> NowPlayingInfo
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 NowPlayingInfo
impl Debug for NowPlayingInfo
Source§impl PartialEq for NowPlayingInfo
impl PartialEq for NowPlayingInfo
impl StructuralPartialEq for NowPlayingInfo
Auto Trait Implementations§
impl Freeze for NowPlayingInfo
impl RefUnwindSafe for NowPlayingInfo
impl Send for NowPlayingInfo
impl Sync for NowPlayingInfo
impl Unpin for NowPlayingInfo
impl UnsafeUnpin for NowPlayingInfo
impl UnwindSafe for NowPlayingInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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