We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to serde it should be possible to serializer and deserialize enums with structs in them. There are two cases to cover:
Newtype pattern:
struct A { a: bool } struct B { b: bool } enum Foo { A(A), B(B), }
Embedded struct variant pattern:
enum Foo { A { a: bool }, B { b: bool }, }
Either of them should likely work the same. This issue relates to the question of buffering and state (#20).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to serde it should be possible to serializer and deserialize enums with structs in them. There are two cases to cover:
Newtype pattern:
Embedded struct variant pattern:
Either of them should likely work the same. This issue relates to the question of buffering and state (#20).
The text was updated successfully, but these errors were encountered: