ed_journals/modules/logs/content/log_event_content/
upgrade_weapon_event.rsuse serde::{Deserialize, Serialize};
use crate::modules::odyssey::{Item, Weapon};
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct UpgradeWeaponEvent {
pub name: Weapon,
#[serde(rename = "Name_Localised")]
pub name_localized: Option<String>,
pub class: u8,
pub resources: Vec<UpgradeWeaponEventResource>,
}
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct UpgradeWeaponEventResource {
pub name: Item,
#[serde(rename = "Name_Localised")]
pub name_localized: Option<String>,
pub count: u16,
}