Re-exports§
pub use crate::serializer::Deserializer;pub use crate::serializer::Serializable;pub use crate::serializer::Serializer;pub use crate::payload;pub use crate::payload;
Macros§
- deserialize
- Load item using Serializer deserialization.
crate::serializer::Serializeris meant to provide custom serialization over Borsh that can be used to store additional metadata such as struct version. - load
- Load item using Borsh deserialization
- payload
- Create Payload struct - a
#repr[transparent]struct wrappingCursor<Vec<u8>>. This struct acts as a helper for storing and loading items into aVec<u8>buffer. - reader
- serialize
- Store item using Serializer serialization.
crate::serializer::Serializeris meant to provide custom serialization over Borsh that can be used to store additional metadata such as struct version. - store
- Store item using Borsh serialization
- version
- writer
Traits§
- Borsh
Deserialize - A data-structure that can be de-serialized from binary format by NBOR.
- Borsh
Serialize - A data-structure that can be serialized into binary format by NBOR.