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