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 and for struct and enum.
  • Derive parity_scale_codec::Encode and parity_scale_codec::EncodeLike for struct and enum.
  • Derive parity_scale_codec::MaxEncodedLen for struct and enum.