#[non_exhaustive]pub struct ChartItem {
pub level: String,
pub md5: Option<String>,
pub sha256: Option<String>,
pub title: Option<String>,
pub artist: Option<String>,
pub url: Option<String>,
pub url_diff: Option<String>,
pub comment: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Chart data item.
Describes metadata and resource links for a single BMS file.
Only the most commonly used spec-defined fields (md5, sha256, level,
title, artist, url, url_diff, comment) are exposed as first-class
fields. Other spec-defined optional fields (such as name_diff, url_pack,
name_pack, org_md5, mode, ipfs, ipfs_diff, lr2_bmsid, etc.) are
not individually promoted — they are preserved via extra
for forward compatibility. This keeps the struct lean while remaining
fully compatible with all real-world tables.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.level: StringDifficulty level, e.g. “0”
Defaults to "0" when null or absent in JSON, per the BMS
difficulty table spec.
md5: Option<String>MD5 hash of the file
sha256: Option<String>SHA256 hash of the file
title: Option<String>Song title
artist: Option<String>Artist name
url: Option<String>File download URL
url_diff: Option<String>Differential file download URL (optional)
comment: Option<String>Comment text
extra: BTreeMap<String, Value>Extra data (unrecognized fields)