mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
schema fixes
This commit is contained in:
parent
93b51bff70
commit
2d3708d027
9 changed files with 10516 additions and 12308 deletions
|
|
@ -23,6 +23,7 @@ pub mod usercmd;
|
|||
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(bound(deserialize = "'a: 'static"))]
|
||||
#[serde(tag = "type")]
|
||||
pub enum Packet<'a> {
|
||||
Sigon(MessagePacket<'a>),
|
||||
Message(MessagePacket<'a>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue