pub struct ChartItem {
pub level: String,
pub md5: Option<String>,
pub sha256: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub artist: Option<String>,
pub subartist: Option<String>,
pub url: Option<String>,
pub url_diff: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Chart data item.
Describes metadata and resource links for a single BMS file. Optional fields with empty strings are deserialized as None to improve data quality.
Fields§
§level: StringDifficulty level, e.g. “0”
md5: Option<String>MD5 hash of the file
sha256: Option<String>SHA256 hash of the file
title: Option<String>Song title
subtitle: Option<String>Song subtitle
artist: Option<String>Artist name
subartist: Option<String>Song sub-artist
url: Option<String>File download URL
url_diff: Option<String>Differential file download URL (optional)
extra: BTreeMap<String, Value>Available on crate feature
serde only.Extra data
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChartItem
impl<'de> Deserialize<'de> for ChartItem
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
impl Eq for ChartItem
impl StructuralPartialEq for ChartItem
Auto Trait Implementations§
impl Freeze for ChartItem
impl RefUnwindSafe for ChartItem
impl Send for ChartItem
impl Sync for ChartItem
impl Unpin for ChartItem
impl UnwindSafe for ChartItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.