Skip to main content

parse_allowed

Function parse_allowed 

Source
pub fn parse_allowed(
    dtype: &DataType,
    text: &str,
) -> Result<Vec<String>, String>
Expand description

The values an allowed set holds, from what was typed: separated by commas, outer spaces dropped, each once, in the order typed. A value in double quotes is taken as it stands, commas and spaces included, with "" for a quote inside it.