models/ship_cargo
Types
pub type ShipCargo {
ShipCargo(
capacity: Int,
units: Int,
inventory: List(ship_cargo_item.ShipCargoItem),
)
}
Constructors
-
ShipCargo( capacity: Int, units: Int, inventory: List(ship_cargo_item.ShipCargoItem), )
Values
pub fn decoder() -> decode.Decoder(ShipCargo)