ed_journals/modules/galaxy/models/
planet_composition.rs

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

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Default)]
#[serde(rename_all = "PascalCase")]
pub struct PlanetComposition {
    pub ice: f32,
    pub rock: f32,
    pub metal: f32,
}