Crate anchor_attribute_account

source ·

Macros§

  • Defines the program’s ID. This should be used at the root of all Anchor based programs.
  • Convenience macro to define a static public key.

Attribute Macros§

  • An attribute for a data structure representing a Solana account.
  • A data structure that can be used as an internal field for a zero copy deserialized account, i.e., a struct marked with #[account(zero_copy)].

Derive Macros§