mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
fix: also add Eq to savage2::Response
This commit is contained in:
parent
486abbd9f7
commit
21205fc3cb
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use crate::protocols::GenericResponse;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct Response {
|
pub struct Response {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub players_online: u8,
|
pub players_online: u8,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue