ed_journals/modules/cargo/models/
cargo_entry.rs

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

use crate::modules::trading::Commodity;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct CargoEntry {
    pub name: Commodity,
    pub count: u16,
    pub stolen: u16,
}