I know how to use, StringI know how to use, VectorBut I am facing issue to use HashMap
#[derive(Serialize)] pub struct TestStructs { pub ttStrngg: String, pub ttVctorr: Vector<String>, pub ttHshMpp: HashMap<String, Vec<String>>, }
Here is what I am trying
Don't have any issues with String
ttStrngg: "Stringgg".to_string(),
Don't have any issues with Vector
ttVctorr: vec!["VecStr1".to_string(), "VecStr2".to_string()],
But do have an issue with HashMapttHshMpp: "HMK1".to_string(), vec!["K1V1".to_string(), "K1V2".to_string()],
I've shared what I tried and now looking for that missing thing in HashMap