When you literally just want a literal of the std::collections types.
std::collections
# use std::collections::{HashMap, HashSet}; # use literally::{hmap, hset}; let m: HashMap<String, HashSet<String>> = hmap!{ "key" => hset!{ "value" } }; assert_eq!(m.get("key").unwrap().get("value"), Some(&"value".to_string()))