Type Definition schemars::Map

source · []
pub type Map<K, V> = BTreeMap<K, V>;
Expand description

The map type used by schemars types.

Currently a BTreeMap or IndexMap can be used, but this may change to a different implementation with a similar interface in a future version of schemars. The IndexMap will be used when the preserve_order feature flag is set.