pub struct Track {Show 16 fields
pub id: TrackId,
pub cover: Option<String>,
pub album_id: String,
pub title: String,
pub artist: String,
pub album: String,
pub duration: u64,
pub khz: u32,
pub bitrate: u16,
pub track_number: Option<u32>,
pub disc_number: Option<u32>,
pub musicbrainz_release_id: Option<String>,
pub musicbrainz_recording_id: Option<String>,
pub musicbrainz_track_id: Option<String>,
pub playlist_item_id: Option<String>,
pub artists: Vec<String>,
}Fields§
§id: TrackId§cover: Option<String>Cover art reference (URL for server, path for local) — out of identity.
album_id: String§title: String§artist: String§album: String§duration: u64§khz: u32§bitrate: u16§track_number: Option<u32>§disc_number: Option<u32>§musicbrainz_release_id: Option<String>§musicbrainz_recording_id: Option<String>§musicbrainz_track_id: Option<String>§playlist_item_id: Option<String>§artists: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Track
impl<'de> Deserialize<'de> for Track
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 StructuralPartialEq for Track
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin 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