Module workflow_serializer::prelude

source ·

Re-exports§

Macros§

  • Load item using Serializer deserialization. crate::serializer::Serializer is meant to provide custom serialization over Borsh that can be used to store additional metadata such as struct version.
  • Load item using Borsh deserialization
  • Create Payload struct - a #repr[transparent] struct wrapping Cursor<Vec<u8>>. This struct acts as a helper for storing and loading items into a Vec<u8> buffer.
  • Store item using Serializer serialization. crate::serializer::Serializer is meant to provide custom serialization over Borsh that can be used to store additional metadata such as struct version.
  • Store item using Borsh serialization

Traits§

  • A data-structure that can be de-serialized from binary format by NBOR.
  • A data-structure that can be serialized into binary format by NBOR.

Derive Macros§