Skip to main content

canonical_code

Function canonical_code 

fn canonical_code(token: &str) -> String
Expand description

The canonical code a lookup token resolves under: an alias of a shipped centre or market reads as that centre’s code, anything else upper-cased.