pub type MetadataMap = HashMap<String, String>;Available on crate feature
std only.Expand description
Type alias for a map of metadata key-value pairs.
With the std feature (the default) this is std::collections::HashMap;
in a no_std + alloc build it is alloc::collections::BTreeMap, which
has the same get, insert, iter and contains_key surface.
§Example
use metadata_gen::MetadataMap;
let mut map = MetadataMap::new();
map.insert("title".to_string(), "My Page".to_string());
assert_eq!(map.get("title"), Some(&"My Page".to_string()));Aliased Type§
pub struct MetadataMap { /* private fields */ }