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,
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
instrumentalness: f32
key: i32
liveness: f32
loudness: f32
mode: Modality
speechiness: f32
tempo: f32
time_signature: i32
track_href: String
valence: f32
Trait Implementations
sourceimpl Clone for AudioFeatures
impl Clone for AudioFeatures
sourcefn clone(&self) -> AudioFeatures
fn clone(&self) -> AudioFeatures
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AudioFeatures
impl Debug for AudioFeatures
sourceimpl<'de> Deserialize<'de> for AudioFeatures
impl<'de> Deserialize<'de> for AudioFeatures
sourcefn 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
sourceimpl PartialEq<AudioFeatures> for AudioFeatures
impl PartialEq<AudioFeatures> for AudioFeatures
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &AudioFeatures) -> bool
fn ne(&self, other: &AudioFeatures) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more