Crate anchor_attribute_account[][src]

Attribute Macros

account

A data structure representing a Solana account, implementing various traits:

associated

Extends the #[account] attribute to allow one to create associated token accounts. This includes a Default implementation, which means all fields in an #[associated] struct must implement Default and an anchor_lang::Bump trait implementation, which allows the account to be used as a program derived address.