models/trade_good_type
Types
pub type TradeGoodType {
Import
Export
Exchange
}
Constructors
-
Import
-
Export
-
Exchange
Values
pub fn decoder() -> decode.Decoder(TradeGoodType)
pub fn encode(trade_good_type: TradeGoodType) -> json.Json
pub fn parse(value: String) -> Result(TradeGoodType, Nil)
pub fn to_string(trade_good_type: TradeGoodType) -> String