pub fn parse_confidence(s: Option<&str>) -> Option<Confidence>
Parse confidence level from string using FromStr.