pub trait Validate<'info>: Accounts<'info> { fn validate(&self) -> ProgramResult; }
Validator for Accounts structs.
Validates the account struct.