mtgjson 5.2.2

Unofficially provided lightweight models of the data provided by MTGJSON.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// The duel deck of a card.
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[allow(missing_docs)]
pub enum DuelDeck {
    #[serde(rename = "a")]
    A,

    #[serde(rename = "b")]
    B,
}