ed_journals/modules/logs/content/log_event_content/
rank_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 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,
}