Expand description
Defines the AnchorSerialize and AnchorDeserialize derive macros
These emit a BorshSerialize/BorshDeserialize implementation for the given type,
as well as emitting IDL type information when the idl-build feature is enabled.
Derive Macrosยง
- Anchor
Deserialize - Implements
borshdeserialization for this structure, as well as implementing lazy deserialization if thelazy-accountfeature is enabled.#[borsh(use_discriminant = false)]is supported withlazy-account;use_discriminant = trueand other#[borsh]attributes (e.g.skip) are not yet supported in conjunction withlazy-account. - Anchor
Serialize