ed_journals/modules/station/models/carrier/
carrier_crew_role.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
use serde::{Deserialize, Serialize};

/// The given service the event is for.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
pub enum CarrierCrewRole {
    Captain,
    CarrierFuel,
    Refuel,
    Repair,
    Rearm,
    Shipyard,

    #[serde(rename = "Commodities")]
    Market,

    BlackMarket,

    #[serde(rename = "Exploration")]
    UniversalCartographers,
    VistaGenomics,
    PioneerSupplies,
    Bartender,
    Outfitting,

    #[serde(rename = "VoucherRedemption")]
    RedemptionOffice,

    #[cfg(feature = "allow-unknown")]
    #[cfg_attr(docsrs, doc(cfg(feature = "allow-unknown")))]
    #[serde(untagged)]
    Unknown(String),
}