ed_journals/modules/nav_route/models/
nav_route_entry.rs

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

use crate::modules::galaxy::StarClass;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct NavRouteEntry {
    pub star_system: String,
    pub system_address: u64,
    pub star_pos: [f32; 3],
    pub star_class: StarClass,
}