pub struct PartialTrack { /* private fields */ }Trait Implementations§
Source§impl Clone for PartialTrack
impl Clone for PartialTrack
Source§fn clone(&self) -> PartialTrack
fn clone(&self) -> PartialTrack
Returns a duplicate 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 PartialTrack
impl Debug for PartialTrack
Source§impl<'de> Deserialize<'de> for PartialTrack
impl<'de> Deserialize<'de> for PartialTrack
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 From<PartialTrack> for Track
impl From<PartialTrack> for Track
Source§fn from(partial: PartialTrack) -> Self
fn from(partial: PartialTrack) -> Self
Converts to this type from the input type.
Source§impl PartialEq<FullTrack> for PartialTrack
impl PartialEq<FullTrack> for PartialTrack
Source§impl PartialEq<LocalTrack> for PartialTrack
impl PartialEq<LocalTrack> for PartialTrack
Source§impl PartialEq<PartialTrack> for FullTrack
impl PartialEq<PartialTrack> for FullTrack
Source§impl PartialEq<PartialTrack> for LocalTrack
impl PartialEq<PartialTrack> for LocalTrack
Source§impl PartialEq for PartialTrack
impl PartialEq for PartialTrack
Source§impl Serialize for PartialTrack
impl Serialize for PartialTrack
Source§impl TryFrom<Track> for PartialTrack
impl TryFrom<Track> for PartialTrack
impl Eq for PartialTrack
Auto Trait Implementations§
impl Freeze for PartialTrack
impl RefUnwindSafe for PartialTrack
impl Send for PartialTrack
impl Sync for PartialTrack
impl Unpin for PartialTrack
impl UnwindSafe for PartialTrack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CommonTrackInformation for Twhere
T: CommonFields + Sealed,
impl<T> CommonTrackInformation for Twhere
T: CommonFields + Sealed,
Source§fn artists(&self) -> &[PartialArtist]
fn artists(&self) -> &[PartialArtist]
The artists of the track.
Source§fn track_number(&self) -> u32
fn track_number(&self) -> u32
The track’s number in its corresponding disc.
Source§fn disc_number(&self) -> u32
fn disc_number(&self) -> u32
The track’s disc’s number.
Source§fn preview_url(&self) -> Option<&str>
fn preview_url(&self) -> Option<&str>
An URL to a 30 second preview of the track.
Source§fn external_urls(&self) -> &ExternalUrls
fn external_urls(&self) -> &ExternalUrls
The external URLs for the track.
Source§fn available_markets(&self) -> &HashSet<CountryCode>
fn available_markets(&self) -> &HashSet<CountryCode>
The countries the track is available in.
Source§fn is_playable(&self) -> Option<bool>
fn is_playable(&self) -> Option<bool>
Whether or not the track is playable.
Source§fn linked_from(&self) -> Option<&LinkedTrack>
fn linked_from(&self) -> Option<&LinkedTrack>
When track relinking is
applied, the original track this track is linked from.
Source§fn restrictions(&self) -> &Restrictions
fn restrictions(&self) -> &Restrictions
The restrictions on the track.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> NonLocalTrackInformation for Twhere
T: NonLocalFields + Sealed,
impl<T> NonLocalTrackInformation for Twhere
T: NonLocalFields + Sealed,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> RelinkedTrackEquality for Twhere
T: CommonTrackInformation + NonLocalTrackInformation,
impl<T> RelinkedTrackEquality for Twhere
T: CommonTrackInformation + NonLocalTrackInformation,
Source§fn compare_possible_relinked<T>(&self, other: T) -> boolwhere
T: RelinkedTrackEquality,
fn compare_possible_relinked<T>(&self, other: T) -> boolwhere
T: RelinkedTrackEquality,
Compare this track to another by their relinked track IDs if available, and then by their IDs. Read more