edjr 0.1.3

Elite Dangerous Journal Reader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Journal entry
use {
    crate::event::JournalEvent,
    chrono::{DateTime, Utc},
    serde::Deserialize,
};

// Journal entry.
//
// Represents each line of journal.
#[derive(Debug, Deserialize)]
pub struct JournalEntry {
    pub timestamp: DateTime<Utc>,
    #[serde(flatten)]
    pub event: JournalEvent,
}