[][src]Function serenity::utils::hashmap_to_json_map

pub fn hashmap_to_json_map<H, T>(
    map: HashMap<T, Value, H>
) -> Map<String, Value> where
    H: BuildHasher,
    T: Eq + Hash + ToString

Converts a HashMap into a final serde_json::Map representation.