Mixin template that puts in a value called "value" of type T. Puts in a
custom deserializer that allows this struct to be both deserialized from a
full struct (if a struct has been sent) or any other value, directly getting
assigned to the T value; member.
This means T must not be anything that deserializes from a struct, as that
branch will never be called.
Mixin template that puts in a value called "value" of type T. Puts in a custom deserializer that allows this struct to be both deserialized from a full struct (if a struct has been sent) or any other value, directly getting assigned to the T value; member.
This means T must not be anything that deserializes from a struct, as that branch will never be called.