11 lines
198 B
Rust
11 lines
198 B
Rust
use std::collections::HashMap;
|
|
|
|
use ::serde::Deserialize;
|
|
|
|
#[derive(Deserialize, Debug)]
|
|
pub struct Spell {
|
|
pub name: String,
|
|
pub mana_cost: i32,
|
|
pub effects: HashMap<String, String>,
|
|
}
|