Skip to main content

format_value

Function format_value 

Source
pub fn format_value(
    value: &WireValue,
    format_name: &str,
    params: &HashMap<String, Value>,
) -> Result<String>
Expand description

Format a wire value to a string using the specified format

For basic “Default” format, this provides simple display. For named formats (Percent, Currency, etc.), this provides fallback behavior. Use Shape runtime for full format support.