ed-journals 0.4.0

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
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct PayBountiesEvent {
    pub amount: u64,
    pub broker_percentage: Option<f32>,
    pub all_fines: bool,
    pub faction: Option<String>,

    #[serde(rename = "Faction_Localised")]
    pub faction_localized: Option<String>,

    #[serde(rename = "ShipID")]
    pub ship_id: u64,
}