mtgjson-sdk 0.1.2

Official MTGJSON Rust SDK — Query Magic: The Gathering card data via DuckDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

// ---------------------------------------------------------------------------
// DeckList — Summary info for a deck
// ---------------------------------------------------------------------------

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DeckList {
    pub code: String,
    pub name: String,
    pub file_name: String,
    #[serde(rename = "type")]
    pub type_field: String,
    pub release_date: Option<String>,
}