usestd::collections::HashMap;useserde::{Deserialize, Serialize};/// Booster pack configuration.
#[derive(Debug, Clone, Serialize, Deserialize)]#[serde(rename_all ="camelCase")]pubstructBoosterConfig{/// Card contents of a booster pack.
pubcontents:HashMap<String, u32>,
/// Odds of getting this configuration against other configurations.
pubweight:u32,
}