Crate mrn_generator
source ·Enums§
- Procedure types
Functions§
- Capitalizes string
- Character values according to tables in ISO 6346
- Remainder values according to tables in ISO 6346
- Returns a valid MRN given a country code
- Returns None if MRN is valid, and correct last character if it’s invalid
- Matches a procedure category code (optionally combined with another one) and returns the corresponding customs procedure
- Maps procedure category to a corresponding character
- Replaces last character of string with new character