Struct spotify_rs::model::audio::TrackAnalysis
source · pub struct TrackAnalysis {Show 26 fields
pub num_samples: u32,
pub duration: f32,
pub sample_md5: String,
pub offset_seconds: u32,
pub window_seconds: u32,
pub analysis_sample_rate: u32,
pub analysis_channels: u32,
pub end_of_fade_in: f32,
pub start_of_fade_out: f32,
pub loudness: f32,
pub tempo: f32,
pub tempo_confidence: f32,
pub time_signature: u32,
pub time_signature_confidence: f32,
pub key: i32,
pub key_confidence: f32,
pub mode: Mode,
pub mode_confidence: f32,
pub codestring: String,
pub code_version: f32,
pub echoprintstring: String,
pub echoprint_version: f32,
pub synchstring: String,
pub synch_version: f32,
pub rhythmstring: String,
pub rhythm_version: f32,
}Fields§
§num_samples: u32§duration: f32§sample_md5: StringThis field will always contain an empty string.
offset_seconds: u32§window_seconds: u32§analysis_sample_rate: u32§analysis_channels: u32§end_of_fade_in: f32§start_of_fade_out: f32§loudness: f32§tempo: f32§tempo_confidence: f32§time_signature: u32§time_signature_confidence: f32§key: i32§key_confidence: f32§mode: Mode§mode_confidence: f32§codestring: String§code_version: f32§echoprintstring: String§echoprint_version: f32§synchstring: String§synch_version: f32§rhythmstring: String§rhythm_version: f32Trait Implementations§
source§impl Clone for TrackAnalysis
impl Clone for TrackAnalysis
source§fn clone(&self) -> TrackAnalysis
fn clone(&self) -> TrackAnalysis
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TrackAnalysis
impl Debug for TrackAnalysis
source§impl<'de> Deserialize<'de> for TrackAnalysis
impl<'de> Deserialize<'de> for TrackAnalysis
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
Auto Trait Implementations§
impl Freeze for TrackAnalysis
impl RefUnwindSafe for TrackAnalysis
impl Send for TrackAnalysis
impl Sync for TrackAnalysis
impl Unpin for TrackAnalysis
impl UnwindSafe for TrackAnalysis
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)