Struct entity::track_entity::TrackEntity
source · [−]pub struct TrackEntity {Show 16 fields
pub id: String,
pub title: String,
pub artist: String,
pub image: String,
pub mode: Mode,
pub key: Key,
pub bpm: f32,
pub time: u64,
pub popularity: Score,
pub danceability: Score,
pub energy: Score,
pub valence: Score,
pub acousticness: Score,
pub instrumentalness: Score,
pub liveness: Score,
pub speechiness: Score,
}Expand description
Fields
id: StringTrackID
title: StringTrack名
artist: Stringアーティスト名
image: StringTrack画像URL
mode: Modeモード(旋法)
key: Keyキー
bpm: f32BPM
time: u64再生時間(秒)
popularity: Score人気度
danceability: Score踊りやすさ
energy: Scoreエネルギー
valence: Scoreポジティブ度
acousticness: Scoreアコースティック度
instrumentalness: Scoreインストゥルメンタル
liveness: Scoreライブ感
speechiness: Scoreポエトリー
Implementations
sourceimpl TrackEntity
impl TrackEntity
Trait Implementations
sourceimpl Clone for TrackEntity
impl Clone for TrackEntity
sourcefn clone(&self) -> TrackEntity
fn clone(&self) -> TrackEntity
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 moreAuto Trait Implementations
impl RefUnwindSafe for TrackEntity
impl Send for TrackEntity
impl Sync for TrackEntity
impl Unpin for TrackEntity
impl UnwindSafe for TrackEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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