Struct spotify_client::prelude::AudioFeatures
source · pub struct AudioFeatures {Show 16 fields
pub acousticness: f32,
pub analysis_url: String,
pub danceability: f32,
pub duration: TimeDelta,
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: TimeDelta§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: 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<AudioFeatures, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AudioFeatures, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AudioFeatures
impl PartialEq 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
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AudioFeatures
Auto Trait Implementations§
impl Freeze for AudioFeatures
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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