Skip to main content

parse_decision

Function parse_decision 

Source
pub fn parse_decision(
    text: &str,
    file_stem: &str,
    rel_file: &str,
) -> Result<Decision, String>
Expand description

Parse and validate one record. file_stem must equal the record’s id; rel_file is kept for reporting. Errors name the offending key.