pub struct ShipNav {
pub system_symbol: String,
pub waypoint_symbol: String,
pub route: Box<ShipNavRoute>,
pub status: ShipNavStatus,
pub flight_mode: ShipNavFlightMode,
}Expand description
ShipNav : The navigation information of the ship.
Fields§
§system_symbol: StringThe symbol of the system.
waypoint_symbol: StringThe symbol of the waypoint.
route: Box<ShipNavRoute>§status: ShipNavStatus§flight_mode: ShipNavFlightModeImplementations§
Sourcepub fn new(
system_symbol: String,
waypoint_symbol: String,
route: ShipNavRoute,
status: ShipNavStatus,
flight_mode: ShipNavFlightMode,
) -> ShipNav
pub fn new( system_symbol: String, waypoint_symbol: String, route: ShipNavRoute, status: ShipNavStatus, flight_mode: ShipNavFlightMode, ) -> ShipNav
The navigation information of the ship.
Trait Implementations§
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more