parse_goal_type

Function parse_goal_type 

Source
fn parse_goal_type(s: &str) -> Result<GoalType>
Expand description

Parse a serde-deserialized enum from a snake_case string (wraps in JSON quotes).