Initialization constraints
init
Initialize a new account.payer- Who pays for the accountspace- Account size in bytes
init_if_needed
Initialize only if the account doesn’t exist.Mutability constraints
mut
Mark account as mutable.Validation constraints
has_one
Validate an account field matches another account.data.authority == authority.key()