Crate parity_scale_codec_derive

Source
Expand description

Derives serialization and deserialization codec for complex structs for simple marshalling.

Derive Macrosยง

  • Derive parity_scale_codec::Compact and parity_scale_codec::CompactAs for struct with single field.
  • Derive parity_scale_codec::Decode for struct and enum.
  • Derive parity_scale_codec::DecodeWithMemTracking for struct and enum.
  • Derive parity_scale_codec::Encode and parity_scale_codec::EncodeLike for struct and enum.