Expand description
Derives serialization and deserialization codec for complex structs for simple marshalling.
Derive Macrosยง
- Compact
As - Derive
parity_scale_codec::Compact
andparity_scale_codec::CompactAs
for struct with single field. - Decode
- Derive
parity_scale_codec::Decode
for struct and enum. - Decode
With MemTracking - Derive
parity_scale_codec::DecodeWithMemTracking
for struct and enum. - Encode
- Derive
parity_scale_codec::Encode
andparity_scale_codec::EncodeLike
for struct and enum.