Skip to content

Derive Deserialize #7

@andrewdavidmackenzie

Description

@andrewdavidmackenzie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions