I want to insert in a struct
And I would like to use as key of the map a pointer to the name field of the struct. Theoretically the lifetime should be ok (the string lives as long as the struct that lives as long as the map entry), but I don't know how to tell this to Rust.
Thank you for your help
Edit: More precisely, in my case, I have a