ritelinked
ritelinked copied to clipboard
Derive Deserialize
I would like to use LinkedHashSet/Map in this struct that I derive Deserialize on:
#[derive(Deserialize, Serialize, Clone)]
pub struct RunState {
functions: Vec<RuntimeFunction>,
blocked: LinkedHashSet<usize>,
}
How can I do that without having to write a serializer/deserializer?