Skip to main content

normalize_priority

Function normalize_priority 

Source
pub fn normalize_priority(input: &str) -> Result<i32, (String, Option<String>)>
Expand description

Normalize a priority value from string, integer, synonym, or P-notation.

Accepts: “0”-“4”, “P0”-“P4”, “high”, “critical”, etc.