Struct spotify_rs::model::audio::AudioFeatures
source · pub struct AudioFeatures {Show 18 fields
pub acousticness: f32,
pub analysis_url: String,
pub danceability: f32,
pub duration_ms: u32,
pub energy: f32,
pub id: String,
pub instrumentalness: f32,
pub key: i32,
pub liveness: f32,
pub loudness: f32,
pub mode: Mode,
pub speechiness: f32,
pub tempo: f32,
pub time_signature: u32,
pub track_href: String,
pub type: String,
pub uri: String,
pub valence: f32,
}Fields§
§acousticness: f32§analysis_url: String§danceability: f32§duration_ms: u32§energy: f32§id: String§instrumentalness: f32§key: i32The key the track is in. Integers map to pitches using standard Pitch Class notation. E.g. 0 = C, 1 = C♯/D♭, 2 = D, and so on. If no key was detected, the value is -1.
liveness: f32§loudness: f32§mode: Mode§speechiness: f32§tempo: f32§time_signature: u32§track_href: String§type: String§uri: String§valence: f32Trait Implementations§
source§impl Clone for AudioFeatures
impl Clone for AudioFeatures
source§fn clone(&self) -> AudioFeatures
fn clone(&self) -> AudioFeatures
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 AudioFeatures
impl Debug for AudioFeatures
source§impl<'de> Deserialize<'de> for AudioFeatures
impl<'de> Deserialize<'de> for AudioFeatures
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 RefUnwindSafe for AudioFeatures
impl Send for AudioFeatures
impl Sync for AudioFeatures
impl Unpin for AudioFeatures
impl UnwindSafe for AudioFeatures
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