Skip to content

Deserialize is not implemented for the type core::marker::PhantomData<_>` #183

Closed
@logicchains

Description

@logicchains

This makes it difficult to deserialize structs with phantom types. Serialization also has the same problem but it seems to be avoidable by #[serde(skip_serializing)], so maybe it could be fixed by adding a #[serde(skip_deserializing)], or making skip_serializing also skip deserializing?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions