spacetraders_models/contract_type

Types

pub type ContractType {
  Procurement
  Transport
  Shuttle
}

Constructors

  • Procurement
  • Transport
  • Shuttle

Values

pub fn encode(contract_type: ContractType) -> json.Json
pub fn parse(value: String) -> Result(ContractType, Nil)
pub fn to_string(contract_type: ContractType) -> String
Search Document