Enum rspotify_model::enums::misc::RepeatState
source · pub enum RepeatState {
Off,
Track,
Context,
}
Expand description
Repeat state: track
, context
or off
.
Variants§
Trait Implementations§
source§impl Clone for RepeatState
impl Clone for RepeatState
source§fn clone(&self) -> RepeatState
fn clone(&self) -> RepeatState
Returns a copy 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 RepeatState
impl Debug for RepeatState
source§impl<'de> Deserialize<'de> for RepeatState
impl<'de> Deserialize<'de> for RepeatState
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 RepeatState> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum RepeatState> for &'static str
source§fn from(x: &'_derivative_strum RepeatState) -> &'static str
fn from(x: &'_derivative_strum RepeatState) -> &'static str
Converts to this type from the input type.
source§impl From<RepeatState> for &'static str
impl From<RepeatState> for &'static str
source§fn from(x: RepeatState) -> &'static str
fn from(x: RepeatState) -> &'static str
Converts to this type from the input type.
source§impl PartialEq for RepeatState
impl PartialEq for RepeatState
source§fn eq(&self, other: &RepeatState) -> bool
fn eq(&self, other: &RepeatState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RepeatState
impl Serialize for RepeatState
impl Copy for RepeatState
impl Eq for RepeatState
impl StructuralPartialEq for RepeatState
Auto Trait Implementations§
impl Freeze for RepeatState
impl RefUnwindSafe for RepeatState
impl Send for RepeatState
impl Sync for RepeatState
impl Unpin for RepeatState
impl UnwindSafe for RepeatState
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