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

Transformation to AccountInfo structs.

Required Methods§

Implementations on Foreign Types§

source§

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

source§

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

source§

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

Implementors§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'info, T: AccountSerialize + AccountDeserialize + Clone> ToAccountInfos<'info> for Account<'info, T>

source§

impl<'info, T: AccountSerialize + AccountDeserialize + Clone> ToAccountInfos<'info> for InterfaceAccount<'info, T>

source§

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

source§

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