pub struct TrackReference {
pub href: String,
pub total: u32,
}Expand description
Contains the link where the full details of a playlist’s tracks can be found, as well as the number of the tracks in the playlist.
Fields§
§href: StringA link to the Spotify Web API endpoint providing full details of the playlist’s tracks.
total: u32The number of tracks in the playlist.
Trait Implementations§
Source§impl Clone for TrackReference
impl Clone for TrackReference
Source§fn clone(&self) -> TrackReference
fn clone(&self) -> TrackReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrackReference
impl Debug for TrackReference
Source§impl<'de> Deserialize<'de> for TrackReference
impl<'de> Deserialize<'de> for TrackReference
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 for TrackReference
impl PartialEq for TrackReference
Source§fn eq(&self, other: &TrackReference) -> bool
fn eq(&self, other: &TrackReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrackReference
Auto Trait Implementations§
impl Freeze for TrackReference
impl RefUnwindSafe for TrackReference
impl Send for TrackReference
impl Sync for TrackReference
impl Unpin for TrackReference
impl UnsafeUnpin for TrackReference
impl UnwindSafe for TrackReference
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