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