//! Validations for accounts.
#![allow(clippy::all)]useanchor_lang::prelude::*;/// Validates the contents of a variable. Generally used for [Accounts] structs and struct members.
pubtraitValidate<'info> {/// Validates the account struct.
fnvalidate(&self)->Result<()>;}