mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
[Protocol] Add derives and serde derives to GatheringSettings
This commit is contained in:
parent
726bfd429f
commit
fc52f3fe91
2 changed files with 5 additions and 1 deletions
|
|
@ -382,6 +382,8 @@ impl Engine {
|
|||
}
|
||||
|
||||
/// What data to gather, purely used only with the query function.
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub struct GatheringSettings {
|
||||
pub players: bool,
|
||||
pub rules: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue