You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Rocket and one issue I've noticed with Tera is that I need to make a BTreeMap or HashMap or similar to pass variables. This is a problem because I have mismatched types in that hashmap.
I'm using Rocket and one issue I've noticed with Tera is that I need to make a BTreeMap or HashMap or similar to pass variables. This is a problem because I have mismatched types in that hashmap.
I've tried using Box as per https://www.simonewebdesign.it/rust-hashmap-insert-values-multiple-types/, but that doesn't seem to be serialisable. I also don't really understand emums. Can I pass the variables as parameters? Thanks!
The text was updated successfully, but these errors were encountered: