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

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

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