1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/// The guild's premium tier, depends on the amount of users boosting the guild currently
#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[non_exhaustive]
pub enum PremiumTier {
/// No tier, considered None
Tier0,
Tier1,
Tier2,
Tier3,
Unknown = !0,
}
enum_number!(PremiumTier {
Tier0,
Tier1,
Tier2,
Tier3
});
impl Default for PremiumTier {
fn default() -> Self {
PremiumTier::Tier0
}
}