[−][src]Derive Macro ssz_derive::Decode
#[derive(Decode)]
Implements ssz::Decode
for some struct
.
Fields are decoded in the order they are defined.
Field attributes
#[ssz(skip_deserializing)]
: during de-serialization the field will be instantiated from aDefault
implementation. The decoder will assume that the field was not serialized at all (e.g., if it has been serialized, an error will be raised instead ofDefault
overriding it).