pub struct BmsTableIndexItem {
pub name: String,
pub symbol: String,
pub url: Url,
pub extra: HashMap<String, Value>,
}Expand description
BMS 表索引条目。
表示一个难度表在索引列表中的基本信息。仅要求 name、symbol、url 三个字段,
其余诸如 tag1、tag2、comment、date、state、tag_order 等字段统一收集到 extra。
Fields§
§name: String表名称,如 “.WAS難易度表”
symbol: String表符号,如 “.” 或 “[F]”
url: Url表地址(为完整的 url::Url 类型)
extra: HashMap<String, Value>Available on crate feature
serde only.额外字段集合(用于保存除必需字段外的所有数据)
Trait Implementations§
Source§impl Clone for BmsTableIndexItem
impl Clone for BmsTableIndexItem
Source§fn clone(&self) -> BmsTableIndexItem
fn clone(&self) -> BmsTableIndexItem
Returns a duplicate 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 BmsTableIndexItem
impl Debug for BmsTableIndexItem
Source§impl<'de> Deserialize<'de> for BmsTableIndexItem
impl<'de> Deserialize<'de> for BmsTableIndexItem
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
Source§impl PartialEq for BmsTableIndexItem
impl PartialEq for BmsTableIndexItem
Source§impl Serialize for BmsTableIndexItem
impl Serialize for BmsTableIndexItem
impl Eq for BmsTableIndexItem
impl StructuralPartialEq for BmsTableIndexItem
Auto Trait Implementations§
impl Freeze for BmsTableIndexItem
impl RefUnwindSafe for BmsTableIndexItem
impl Send for BmsTableIndexItem
impl Sync for BmsTableIndexItem
impl Unpin for BmsTableIndexItem
impl UnwindSafe for BmsTableIndexItem
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.