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 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>,