no more cloning

This commit is contained in:
Adam 2024-04-06 21:29:47 -04:00
parent dd1bfe56c6
commit 7c2c258014

View file

@ -4,20 +4,20 @@ use serde::{Deserialize, Serialize};
use serde_json::Result;
use std::fs;
#[derive(Serialize, Deserialize, Clone)]
#[derive(Serialize, Deserialize)]
struct CAHCardWhite {
text: String,
pack: u8,
}
#[derive(Serialize, Deserialize, Clone)]
#[derive(Serialize, Deserialize)]
struct CAHCardBlack {
text: String,
pick: u8,
pack: u8,
}
#[derive(Serialize, Deserialize, Clone)]
#[derive(Serialize, Deserialize)]
struct CAHCardSet {
name: String,
description: Option<String>,