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

1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct VehicleSwitchEvent {
    pub to: VehicleSwitchEventTo,
}

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
pub enum VehicleSwitchEventTo {
    Fighter,
    Mothership,
}