pub struct AudioSampleRow {Show 15 fields
pub name: String,
pub path: String,
pub directory: String,
pub format: String,
pub size: u64,
pub size_formatted: String,
pub modified: String,
pub duration: Option<f64>,
pub channels: Option<u16>,
pub sample_rate: Option<u32>,
pub bits_per_sample: Option<u16>,
pub bpm: Option<f64>,
pub key: Option<String>,
pub lufs: Option<f64>,
pub bpm_exhausted: bool,
}Expand description
A single row returned from a paginated query, with analysis data inline.
Fields§
§name: String§path: String§directory: String§format: String§size: u64§size_formatted: String§modified: String§duration: Option<f64>§channels: Option<u16>§sample_rate: Option<u32>§bits_per_sample: Option<u16>§bpm: Option<f64>§key: Option<String>§lufs: Option<f64>§bpm_exhausted: boolTrue when BPM detection gave up (NULL BPM with key+LUFS filled) — UI shows N/A in the BPM column.
Trait Implementations§
Source§impl Debug for AudioSampleRow
impl Debug for AudioSampleRow
Auto Trait Implementations§
impl Freeze for AudioSampleRow
impl RefUnwindSafe for AudioSampleRow
impl Send for AudioSampleRow
impl Sync for AudioSampleRow
impl Unpin for AudioSampleRow
impl UnwindSafe for AudioSampleRow
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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