Function serenity::json::hashmap_to_json_map
source · [−]pub fn hashmap_to_json_map<H, T>(map: HashMap<T, Value, H>) -> JsonMap where
H: BuildHasher,
T: Eq + Hash + ToString,
Expand description
Converts a HashMap into a final JsonMap
representation.