ed-journals 0.12.2

Provides models for representing and parsing elite dangerous journal files
Documentation
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,
}