mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Remove serde derives Generic Player and Response
This commit is contained in:
parent
1e083c2df7
commit
b584e11336
2 changed files with 2 additions and 4 deletions
|
|
@ -29,7 +29,6 @@ pub enum Protocol {
|
|||
}
|
||||
|
||||
/// All response types
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum GenericResponse<'a> {
|
||||
GameSpy(gamespy::VersionedResponse<'a>),
|
||||
|
|
@ -45,7 +44,6 @@ pub enum GenericResponse<'a> {
|
|||
}
|
||||
|
||||
/// All player types
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum GenericPlayer<'a> {
|
||||
Valve(&'a valve::ServerPlayer),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue