use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ShipNav {
#[serde(rename = "systemSymbol")]
pub system_symbol: String,
#[serde(rename = "waypointSymbol")]
pub waypoint_symbol: String,
#[serde(rename = "route")]
pub route: crate::models::ShipNavRoute,
#[serde(rename = "status")]
pub status: crate::models::ShipNavStatus,
#[serde(rename = "flightMode")]
pub flight_mode: crate::models::ShipNavFlightMode,
}
impl ShipNav {
#[allow(clippy::too_many_arguments)]
pub fn new(
system_symbol: String,
waypoint_symbol: String,
route: crate::models::ShipNavRoute,
status: crate::models::ShipNavStatus,
flight_mode: crate::models::ShipNavFlightMode,
) -> ShipNav {
ShipNav {
system_symbol,
waypoint_symbol,
route,
status,
flight_mode,
}
}
}