Crate anchor_attribute_account[−][src]
Attribute Macros
A data structure representing a Solana account, implementing various traits:
Extends the #[account]
attribute to allow one to create associated
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.
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)]
.