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
Hi, I'm reopening this issue based on the fact that I have now another error. #108
Now I don't have any error doing #[serde(flatten)] pub extra: HashMap<String, Variant> while compiling but I have an error at runtime: Expected a named struct. Hint: You cannot use a HashMap<...> in this context because it requires the struct to have a name. I'm at the time trying to find a solution for that but it seems what I want to do doesn't seems possible yet
Hi, I'm reopening this issue based on the fact that I have now another error. #108
Now I don't have any error doing #[serde(flatten)] pub extra: HashMap<String, Variant> while compiling but I have an error at runtime: Expected a named struct. Hint: You cannot use a HashMap<...> in this context because it requires the struct to have a name. I'm at the time trying to find a solution for that but it seems what I want to do doesn't seems possible yet
I just want to be able to do exactly that : https://serde.rs/attr-flatten.html#capture-additional-fields
The text was updated successfully, but these errors were encountered: