Skip to main content

enum_output_for_cast

Function enum_output_for_cast 

Source
pub fn enum_output_for_cast(
    catalog: Option<&dyn EnumLabelCatalog>,
    label: &EnumValue,
    target: &ColumnType,
) -> Result<Value>
Expand description

Cast an enum value to a string-category type through its label; any other target has no cast.