pub struct Track {Show 28 fields
pub id: u64,
pub name: String,
pub artist: String,
pub composer: String,
pub album: String,
pub grouping: String,
pub genre: String,
pub kind: String,
pub size: u64,
pub total_time: u32,
pub disc_number: u32,
pub track_number: u32,
pub year: u32,
pub average_bpm: f64,
pub date_added: String,
pub bit_rate: u32,
pub sample_rate: u32,
pub comments: String,
pub play_count: u32,
pub rating: u32,
pub location: String,
pub remixer: String,
pub tonality: String,
pub label: String,
pub mix: String,
pub colour: Option<u32>,
pub tempos: Vec<Tempo>,
pub cues: Vec<Cue>,
}Fields§
§id: u64§name: String§artist: String§composer: String§album: String§grouping: String§genre: String§kind: String§size: u64§total_time: u32§disc_number: u32§track_number: u32§year: u32§average_bpm: f64§date_added: String§bit_rate: u32§sample_rate: u32§comments: String§play_count: u32§rating: u320, 51, 102, 153, 204, 255 for 0..=5 stars.
location: StringDecoded filesystem path.
remixer: String§tonality: String§label: String§mix: String§colour: Option<u32>0xRRGGBB.
tempos: Vec<Tempo>§cues: Vec<Cue>Implementations§
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more