eversal_esi/location/
model.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct CharacterLocation {
5  pub solar_system_id: i32,
6  station_id: Option<i32>,
7  structure_id: Option<i32>,
8}
9
10#[derive(Debug, Serialize, Deserialize)]
11pub struct CharacterOnline {
12  pub last_login: Option<String>,
13  pub last_logout: Option<String>,
14  pub logins: Option<i32>,
15  pub online: bool,
16}
17
18#[derive(Debug, Serialize, Deserialize)]
19pub struct CharacterShip {
20  pub ship_item_id: i64,
21  pub ship_name: String,
22  pub ship_type_id: i32,
23}