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 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>,
|
||||
|
|
Loading…
Add table
Reference in a new issue