Struct rspotify_model::recommend::Recommendations
source · pub struct Recommendations {
pub seeds: Vec<RecommendationsSeed>,
pub tracks: Vec<SimplifiedTrack>,
}
Expand description
Recommendations object
Fields§
§seeds: Vec<RecommendationsSeed>
§tracks: Vec<SimplifiedTrack>
Trait Implementations§
source§impl Clone for Recommendations
impl Clone for Recommendations
source§fn clone(&self) -> Recommendations
fn clone(&self) -> Recommendations
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 Recommendations
impl Debug for Recommendations
source§impl Default for Recommendations
impl Default for Recommendations
source§fn default() -> Recommendations
fn default() -> Recommendations
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Recommendations
impl<'de> Deserialize<'de> for Recommendations
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 PartialEq<Recommendations> for Recommendations
impl PartialEq<Recommendations> for Recommendations
source§fn eq(&self, other: &Recommendations) -> bool
fn eq(&self, other: &Recommendations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Recommendations
impl Serialize for Recommendations
impl Eq for Recommendations
impl StructuralEq for Recommendations
impl StructuralPartialEq for Recommendations
Auto Trait Implementations§
impl RefUnwindSafe for Recommendations
impl Send for Recommendations
impl Sync for Recommendations
impl Unpin for Recommendations
impl UnwindSafe for Recommendations
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