models/ship_fuel
Types
pub type ShipFuel {
ShipFuel(
current: Int,
capacity: Int,
consumed: option.Option(ship_fuel_consumed.ShipFuelConsumed),
)
}
Constructors
-
ShipFuel( current: Int, capacity: Int, consumed: option.Option(ship_fuel_consumed.ShipFuelConsumed), )
Values
pub fn decoder() -> decode.Decoder(ShipFuel)