mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
add missing disaply
This commit is contained in:
parent
2b01b3ba7c
commit
8da83b7df8
1 changed files with 23 additions and 2 deletions
|
|
@ -42,7 +42,17 @@ impl ChatMessage {
|
|||
}
|
||||
|
||||
#[derive(
|
||||
Debug, Clone, Serialize, Deserialize, Copy, PartialEq, Eq, Hash, TryFromPrimitive, Default,
|
||||
Debug,
|
||||
Clone,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
Copy,
|
||||
PartialEq,
|
||||
Eq,
|
||||
Hash,
|
||||
TryFromPrimitive,
|
||||
Default,
|
||||
Display,
|
||||
)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
#[repr(u8)]
|
||||
|
|
@ -206,7 +216,18 @@ impl From<HashMap<Class, u8>> for ClassList {
|
|||
|
||||
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
|
||||
#[derive(
|
||||
Debug, Clone, Serialize, Deserialize, Copy, PartialEq, Eq, Hash, Ord, PartialOrd, Default,
|
||||
Debug,
|
||||
Clone,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
Copy,
|
||||
PartialEq,
|
||||
Eq,
|
||||
Hash,
|
||||
Ord,
|
||||
PartialOrd,
|
||||
Default,
|
||||
Display,
|
||||
)]
|
||||
pub struct UserId(u16);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue