models/ship_role

Types

pub type ShipRole {
  Fabricator
  Harvester
  Hauler
  Interceptor
  Excavator
  Transport
  Repair
  Surveyor
  Command
  Carrier
  Patrol
  Satellite
  Explorer
  Refinery
}

Constructors

  • Fabricator
  • Harvester
  • Hauler
  • Interceptor
  • Excavator
  • Transport
  • Repair
  • Surveyor
  • Command
  • Carrier
  • Patrol
  • Satellite
  • Explorer
  • Refinery

Values

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