Crate serde_enabled
source ·Enums
Enable<T>
is a wrapper that adds one extra fieldenabled
when theT
is serialized withSerde
. That field can betrue
, in which case all of the fields forT
need to be present, or it can befalse
at which point all fields ofT
can be ommited.