mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Remove unnecessary rarity aliases
This commit is contained in:
parent
bd30998ffb
commit
09a55bee68
1 changed files with 4 additions and 6 deletions
|
@ -9,20 +9,18 @@ use crate::schema::corebundle::CoreRarity;
|
|||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
||||
pub enum CardRarity {
|
||||
/// The card has no rarity, as it probably is not collectible.
|
||||
#[serde(alias = "")]
|
||||
#[serde(alias = "NONE")]
|
||||
None,
|
||||
|
||||
/// A common card.
|
||||
#[serde(alias = "COMMON")]
|
||||
Common,
|
||||
|
||||
/// A rare card.
|
||||
#[serde(alias = "RARE")]
|
||||
Rare,
|
||||
|
||||
/// An epic card.
|
||||
#[serde(alias = "EPIC")]
|
||||
Epic,
|
||||
|
||||
/// A champion.
|
||||
#[serde(alias = "CHAMPION")]
|
||||
Champion,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue