ed_journals/modules/logs/content/log_event_content/rank_event.rs
//! Includes information about the current ranks of the player.
use crate::commander::{CombatRank, EmpireRank, ExplorationRank, FederationRank, TradeRank};
use serde::{Deserialize, Serialize};
/// Includes information about the current ranks of the player.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct RankEvent {
pub combat: CombatRank,
pub trade: TradeRank,
pub explore: ExplorationRank,
pub empire: EmpireRank,
pub federation: FederationRank,
#[serde(rename = "CQC")]
pub cqc: u8,
}