Skip to main content

known_currency_label

Function known_currency_label 

Source
pub fn known_currency_label(c: Option<i32>) -> Option<&'static str>
Expand description

Display label for known currency IDs.

currency_label deliberately returns UNKNOWN for diagnostics. Table/JSON presentation often needs a tri-state instead: absent / unknown should stay absent so the surface can render -, omit a field, or choose its own fallback text.