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
17
18
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub enum JumpType {
    Hyperspace,
    Supercruise,
}

#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct StartJumpEvent {
    jump_type: JumpType,
    star_system: Option<String>,
    star_class: Option<String>,
    system_address: Option<u64>,
    #[serde(default)]
    taxi: bool,
}