pub enum PlaybackStatus {
Playing,
Paused,
Stopped,
}Expand description
A playback state.
Variants§
Playing
A track is currently playing.
Paused
A track is currently paused.
Stopped
There is no track currently playing.
Trait Implementations§
Source§impl Clone for PlaybackStatus
impl Clone for PlaybackStatus
Source§fn clone(&self) -> PlaybackStatus
fn clone(&self) -> PlaybackStatus
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 PlaybackStatus
impl Debug for PlaybackStatus
Source§impl<'de> Deserialize<'de> for PlaybackStatus
impl<'de> Deserialize<'de> for PlaybackStatus
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 Display for PlaybackStatus
impl Display for PlaybackStatus
Source§impl From<PlaybackStatus> for Value<'_>
impl From<PlaybackStatus> for Value<'_>
Source§fn from(value: PlaybackStatus) -> Self
fn from(value: PlaybackStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for PlaybackStatus
impl FromStr for PlaybackStatus
Source§impl PartialEq for PlaybackStatus
impl PartialEq for PlaybackStatus
Source§impl Serialize for PlaybackStatus
impl Serialize for PlaybackStatus
Source§impl TryFrom<OwnedValue> for PlaybackStatus
impl TryFrom<OwnedValue> for PlaybackStatus
Source§impl TryFrom<Value<'_>> for PlaybackStatus
impl TryFrom<Value<'_>> for PlaybackStatus
Source§impl Type for PlaybackStatus
impl Type for PlaybackStatus
impl Copy for PlaybackStatus
impl Eq for PlaybackStatus
impl StructuralPartialEq for PlaybackStatus
Auto Trait Implementations§
impl Freeze for PlaybackStatus
impl RefUnwindSafe for PlaybackStatus
impl Send for PlaybackStatus
impl Sync for PlaybackStatus
impl Unpin for PlaybackStatus
impl UnsafeUnpin for PlaybackStatus
impl UnwindSafe for PlaybackStatus
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.