1 2 3 4 5 6 7 8 9 10
use compact_str::CompactString; use serde::Deserialize; #[derive(Debug, Clone, Eq, PartialEq, Hash, Deserialize)] #[non_exhaustive] pub struct Spell { pub id: u64, pub image_url: String, pub name: CompactString, }