pub fn parse_conditions(value: &Value) -> Result<Vec<Condition>, String>
Parse a TOML when value into a list of conditions.
when
Returns an error string if the TOML structure is unrecognized.