ed_journals/modules/modules_info/models/
modules_info_entry.rs

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

use crate::modules::ship::{ShipModule, ShipSlot};

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct ModulesInfoEntry {
    pub slot: ShipSlot,
    pub item: ShipModule,
    pub power: f32,
    pub priority: Option<u8>,
}