Static ISO 10383 Market Identifier Code Data
This crate contains no-std and no-std::no-alloc structures and data from the ISO 10383 MIC data distributed by the ISO 20022 Website. More specifically, it contains a Code enum which enumerates all of the market identifier codes distributed, with accessors to read particular data, and a set of constants containing individual records.
If you're only looking for a simple string-oriented type that will perform basic well-formedness checks on a MIC code string, but not ensure the given code actuall exists, you should use iso10383-types.
Features
default: Enables theserdefeature.serde: Enables the serialization and deserialization traits of the code enum and MIC record data.alloc: Enables the variants of serde serialization and deserialization which requirealloc. This should be enabled if serde has it's ownallocfeature enabled.
Examples
use mic;
use Code;
const MIC: &mic = match from_str ;
let code = from_mic.expect;
assert_eq!;