pub trait ToAccountInfos<'info> {
    // Required method
    fn to_account_infos(&self) -> Vec<AccountInfo<'info>>;
}
Expand description

Transformation to AccountInfo structs.

Required Methods§

fn to_account_infos(&self) -> Vec<AccountInfo<'info>>

Implementations on Foreign Types§

§

impl<'info, T> ToAccountInfos<'info> for Option<T>
where T: ToAccountInfos<'info>,

§

fn to_account_infos(&self) -> Vec<AccountInfo<'info>>

Implementors§

source§

impl<'info> ToAccountInfos<'info> for PermissionSet<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for AccountInfo<'info>

§

impl<'info> ToAccountInfos<'info> for Signer<'info>

§

impl<'info> ToAccountInfos<'info> for SystemAccount<'info>

§

impl<'info> ToAccountInfos<'info> for UncheckedAccount<'info>

§

impl<'info> ToAccountInfos<'info> for AdvanceNonceAccount<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for Allocate<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for AllocateWithSeed<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for Assign<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for AssignWithSeed<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for AuthorizeNonceAccount<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for CreateAccount<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for CreateAccountWithSeed<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for CreateNonceAccount<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for CreateNonceAccountWithSeed<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for Transfer<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for TransferWithSeed<'info>
where 'info: 'info,

§

impl<'info> ToAccountInfos<'info> for WithdrawNonceAccount<'info>
where 'info: 'info,

§

impl<'info, T> ToAccountInfos<'info> for Box<T>
where T: ToAccountInfos<'info>,

§

impl<'info, T> ToAccountInfos<'info> for Vec<T>
where T: ToAccountInfos<'info>,

§

impl<'info, T> ToAccountInfos<'info> for Account<'info, T>

§

impl<'info, T> ToAccountInfos<'info> for AccountLoader<'info, T>
where T: ZeroCopy + Owner,

§

impl<'info, T> ToAccountInfos<'info> for CpiContext<'_, '_, '_, 'info, T>
where T: ToAccountInfos<'info> + ToAccountMetas,

§

impl<'info, T> ToAccountInfos<'info> for Interface<'info, T>

§

impl<'info, T> ToAccountInfos<'info> for InterfaceAccount<'info, T>

§

impl<'info, T> ToAccountInfos<'info> for Program<'info, T>

§

impl<'info, T> ToAccountInfos<'info> for Sysvar<'info, T>
where T: Sysvar,