1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use bitflags::bitflags;

#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

bitflags! {
    #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
    #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
    #[cfg_attr(feature = "serde", serde(transparent))]
    pub struct Ruleset: u64 {
        const PvE = 0b0001;
        const WvW = 0b0010;
        const PvP = 0b0100;
    }
}