ed_journals/modules/outfitting/models/
outfitting_entry.rs

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

use crate::modules::ship::ShipModule;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct OutfittingEntry {
    #[serde(rename = "id")]
    pub id: u64,
    pub name: ShipModule,
    pub buy_price: u64,
}