Skip to main content

validate_enum

Function validate_enum 

Source
pub fn validate_enum(value: &str, allowed: &[&str]) -> Result<(), String>