models/system_type
Types
pub type SystemType {
NeutronStar
RedStar
OrangeStar
BlueStar
YoungStar
WhiteDwarf
BlackHole
Hypergiant
Nebula
Unstable
}
Constructors
-
NeutronStar
-
RedStar
-
OrangeStar
-
BlueStar
-
YoungStar
-
WhiteDwarf
-
BlackHole
-
Hypergiant
-
Nebula
-
Unstable
Values
pub fn decoder() -> decode.Decoder(SystemType)
pub fn encode(system_type: SystemType) -> json.Json
pub fn parse(value: String) -> Result(SystemType, Nil)
pub fn to_string(system_type: SystemType) -> String