ed_journals/modules/logs/content/log_event_content/docking_timeout_event.rs
1//! Fired when the player did not dock within the given time window.
2
3use serde::{Deserialize, Serialize};
4
5use crate::modules::station::StationType;
6
7/// Fired when the player did not dock within the given time window.
8#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
9#[serde(rename_all = "PascalCase")]
10pub struct DockingTimeoutEvent {
11 /// The name of the station the player had requested to dock at.
12 pub station_name: String,
13
14 /// The kind of station the player wanted to dock at.
15 pub station_type: StationType,
16
17 /// The market id of the station.
18 #[serde(rename = "MarketID")]
19 pub market_id: u64,
20}