pub struct Track {
pub id: String,
pub name: String,
pub artists: Vec<String>,
pub artist_ids: Vec<String>,
pub album: Option<String>,
pub album_id: Option<String>,
pub duration_ms: Option<u32>,
}Expand description
Track metadata used in playback and library actions.
Fields§
§id: String§name: String§artists: Vec<String>§artist_ids: Vec<String>§album: Option<String>§album_id: Option<String>§duration_ms: Option<u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnwindSafe for Track
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