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};

/// Related card information.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RelatedCards {
    /// Reverse related cards.
    pub reverse_related: Option<Vec<String>>,

    /// Spellbook related cards.
    pub spellbook: Option<Vec<String>>,
}