Struct rspotify_model::audio::AudioFeatures
source · pub struct AudioFeatures {Show 16 fields
pub acousticness: f32,
pub analysis_url: String,
pub danceability: f32,
pub duration: Duration,
pub energy: f32,
pub id: TrackId<'static>,
pub instrumentalness: f32,
pub key: i32,
pub liveness: f32,
pub loudness: f32,
pub mode: Modality,
pub speechiness: f32,
pub tempo: f32,
pub time_signature: i32,
pub track_href: String,
pub valence: f32,
}
Expand description
Audio Feature Object
Fields§
§acousticness: f32
§analysis_url: String
§danceability: f32
§duration: Duration
§energy: f32
§id: TrackId<'static>
§instrumentalness: f32
§key: i32
§liveness: f32
§loudness: f32
§mode: Modality
§speechiness: f32
§tempo: f32
§time_signature: i32
§track_href: String
§valence: f32
Trait 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
source§impl PartialEq<AudioFeatures> for AudioFeatures
impl PartialEq<AudioFeatures> for AudioFeatures
source§fn eq(&self, other: &AudioFeatures) -> bool
fn eq(&self, other: &AudioFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AudioFeatures
impl Serialize for AudioFeatures
impl StructuralPartialEq for AudioFeatures
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