Skip to main content

enum_value_from_text

Function enum_value_from_text 

Source
pub fn enum_value_from_text(
    catalog: Option<&dyn EnumLabelCatalog>,
    type_oid: u32,
    text: &str,
) -> Result<Value>
Expand description

enum_in: the label with exactly this text. Case and surrounding spaces are significant.