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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Fired when the player abandons a mission.

use serde::{Deserialize, Serialize};

use crate::modules::station::MissionType;

/// Fired when the player abandons a mission.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct MissionAbandonedEvent {
    /// The kind of mission the player abandoned.
    pub name: MissionType,

    /// The id of the mission the player abandoned.
    #[serde(rename = "MissionID")]
    pub mission_id: u64,
}