ed_journals/modules/logs/content/log_event_content/
outfitting_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Emitted when opening the outfitting menu.

use serde::{Deserialize, Serialize};

/// Emitted when opening the outfitting menu. The contents of the outfitting menu are written to a
/// separate file called `Outfitting.json` in the journal directory.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct OutfittingEvent {
    /// The market id the player is currently at.
    #[serde(rename = "MarketID")]
    pub market_id: u64,

    /// The name of the station the player is currently docked at and opened the outfitting menu at.
    pub station_name: String,

    /// The name of the star system the player is currently in.
    pub star_system: String,
}