#[non_exhaustive]pub struct TrackInfo {
    pub author: Option<String>,
    pub identifier: String,
    pub is_seekable: bool,
    pub is_stream: bool,
    pub length: u64,
    pub position: u64,
    pub title: Option<String>,
    pub uri: String,
}Available on crate feature 
http-support only.Expand description
Additional information about a track, such as the author.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.The name of the author, if provided.
identifier: StringThe identifier of the source of the track.
is_seekable: boolWhether the source is seekable.
is_stream: boolWhether the source is a stream.
length: u64The length of the audio in milliseconds.
position: u64The position of the audio.
title: Option<String>The title, if provided.
uri: StringThe source URI of the track.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrackInfo
 
impl<'de> Deserialize<'de> for TrackInfo
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
impl Eq for TrackInfo
impl StructuralPartialEq for TrackInfo
Auto Trait Implementations§
impl Freeze for TrackInfo
impl RefUnwindSafe for TrackInfo
impl Send for TrackInfo
impl Sync for TrackInfo
impl Unpin for TrackInfo
impl UnwindSafe for TrackInfo
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,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more