edjr 0.1.3

Elite Dangerous Journal Reader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;

#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct PayFinesEvent {
    pub all_fines: bool,
    pub amount: u64,
    pub broker_percentage: Option<f64>,
    pub faction: Option<String>,
    #[serde(alias = "ShipID")]
    pub ship_id: u64,
}