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
13
14
use serde::Serialize;

#[derive(Debug, Serialize)]
pub enum FeedResult {
    Accepted,
    Skipped,
    Later,
}

impl FeedResult {
    pub fn is_accepted(&self) -> bool {
        matches!(self, FeedResult::Accepted)
    }
}