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

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct MaterialCollectedEvent {
    // TODO look into turning this into an enum
    pub category: String,

    // TODO look into turning this into an enum
    pub name: String,
    pub count: u8,
}