ed-journals 0.11.2

Provides models for representing and parsing elite dangerous journal files
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct SquadronPromotionEvent {
    pub squadron_name: String,

    // TODO replace with enum
    pub old_rank: u8,
    pub new_rank: u8,
}