Crate pina_macros

Crate pina_macros 

Source

Attribute Macros§

account
The account macro is used to annotate account data that will exist within a solana account.
discriminator
This attribute macro should be used for annotating the globally shared instruction and account discriminators.
error
#[error] is a lightweight modification to the provided enum acting as syntactic sugar to make it easier to manage your custom program errors.
event
The event macro is used to annotate event data that will be emitted from a solana program.
instruction
The instruction macro is used to annotate instruction data that will exist within a solana instruction.

Derive Macros§

Accounts