edjr 0.1.1

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

#[derive(Debug, Deserialize)]
pub enum Allegiance {
    PilotsFederation,
    Alliance,
    Empire,
    Federation,
    Independent,
    Guardian,
    Thargoid,
    #[serde(other)]
    None,
    // this could be problematic if there's an other allegiance about we don't know since then it will be ignored and just none
    // this needed by frontier who could make a none value, but make an empty string in DatalinkVoucher in VictimFaction field
}