use serde::{Deserialize, Serialize};
use crate::modules::station::StationType;
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct EmbarkEvent {
#[serde(rename = "ID")]
pub id: Option<u32>,
pub star_system: String,
pub system_address: u64,
pub body: String,
#[serde(rename = "BodyID")]
pub body_id: u32,
pub on_station: bool,
pub on_planet: bool,
pub station_name: Option<String>,
pub station_type: Option<StationType>,
#[serde(rename = "MarketID")]
pub market_id: Option<u64>,
#[serde(rename = "SRV")]
pub srv: bool,
pub taxi: bool,
pub multicrew: bool,
}