no more cloning
This commit is contained in:
parent
dd1bfe56c6
commit
7c2c258014
1 changed files with 3 additions and 3 deletions
|
@ -4,20 +4,20 @@ use serde::{Deserialize, Serialize};
|
||||||
use serde_json::Result;
|
use serde_json::Result;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone)]
|
#[derive(Serialize, Deserialize)]
|
||||||
struct CAHCardWhite {
|
struct CAHCardWhite {
|
||||||
text: String,
|
text: String,
|
||||||
pack: u8,
|
pack: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone)]
|
#[derive(Serialize, Deserialize)]
|
||||||
struct CAHCardBlack {
|
struct CAHCardBlack {
|
||||||
text: String,
|
text: String,
|
||||||
pick: u8,
|
pick: u8,
|
||||||
pack: u8,
|
pack: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone)]
|
#[derive(Serialize, Deserialize)]
|
||||||
struct CAHCardSet {
|
struct CAHCardSet {
|
||||||
name: String,
|
name: String,
|
||||||
description: Option<String>,
|
description: Option<String>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue