pub struct BmsTableInfo {
pub name: String,
pub symbol: String,
pub url: Url,
pub extra: BTreeMap<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: BTreeMap<String, Value>Available on crate feature
serde only.额外字段集合(用于保存除必需字段外的所有数据)
Trait Implementations§
Source§impl Clone for BmsTableInfo
impl Clone for BmsTableInfo
Source§fn clone(&self) -> BmsTableInfo
fn clone(&self) -> BmsTableInfo
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 BmsTableInfo
impl Debug for BmsTableInfo
Source§impl<'de> Deserialize<'de> for BmsTableInfo
impl<'de> Deserialize<'de> for BmsTableInfo
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 BmsTableInfo
impl PartialEq for BmsTableInfo
Source§impl Serialize for BmsTableInfo
impl Serialize for BmsTableInfo
impl Eq for BmsTableInfo
impl StructuralPartialEq for BmsTableInfo
Auto Trait Implementations§
impl Freeze for BmsTableInfo
impl RefUnwindSafe for BmsTableInfo
impl Send for BmsTableInfo
impl Sync for BmsTableInfo
impl Unpin for BmsTableInfo
impl UnwindSafe for BmsTableInfo
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.