pub enum CurrentlyPlayingType {
Track,
Episode,
Advertisement,
Unknown,
}Expand description
Currently playing type: track, episode, ad, unknown
Variants§
Trait Implementations§
Source§impl Clone for CurrentlyPlayingType
impl Clone for CurrentlyPlayingType
Source§fn clone(&self) -> CurrentlyPlayingType
fn clone(&self) -> CurrentlyPlayingType
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 CurrentlyPlayingType
impl Debug for CurrentlyPlayingType
Source§impl<'de> Deserialize<'de> for CurrentlyPlayingType
impl<'de> Deserialize<'de> for CurrentlyPlayingType
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<'_derivative_strum> From<&'_derivative_strum CurrentlyPlayingType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CurrentlyPlayingType> for &'static str
Source§fn from(x: &'_derivative_strum CurrentlyPlayingType) -> &'static str
fn from(x: &'_derivative_strum CurrentlyPlayingType) -> &'static str
Converts to this type from the input type.
Source§impl From<CurrentlyPlayingType> for &'static str
impl From<CurrentlyPlayingType> for &'static str
Source§fn from(x: CurrentlyPlayingType) -> &'static str
fn from(x: CurrentlyPlayingType) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for CurrentlyPlayingType
impl PartialEq for CurrentlyPlayingType
Source§impl Serialize for CurrentlyPlayingType
impl Serialize for CurrentlyPlayingType
impl Copy for CurrentlyPlayingType
impl Eq for CurrentlyPlayingType
impl StructuralPartialEq for CurrentlyPlayingType
Auto Trait Implementations§
impl Freeze for CurrentlyPlayingType
impl RefUnwindSafe for CurrentlyPlayingType
impl Send for CurrentlyPlayingType
impl Sync for CurrentlyPlayingType
impl Unpin for CurrentlyPlayingType
impl UnsafeUnpin for CurrentlyPlayingType
impl UnwindSafe for CurrentlyPlayingType
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