spacetraders_models/cooldown
Types
pub type Cooldown {
Cooldown(
ship_symbol: ship_symbol.ShipSymbol,
total_seconds: Int,
remaining_seconds: Int,
expiration: option.Option(timestamp.Timestamp),
)
}
Constructors
-
Cooldown( ship_symbol: ship_symbol.ShipSymbol, total_seconds: Int, remaining_seconds: Int, expiration: option.Option(timestamp.Timestamp), )
Values
pub fn decoder() -> decode.Decoder(Cooldown)