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§
Source§impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Option<T>
impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Option<T>
fn to_account_infos(&self) -> Vec<AccountInfo<'info>>
Source§impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Box<T>
impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Box<T>
fn to_account_infos(&self) -> Vec<AccountInfo<'info>>
Source§impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Vec<T>
impl<'info, T: ToAccountInfos<'info>> ToAccountInfos<'info> for Vec<T>
fn to_account_infos(&self) -> Vec<AccountInfo<'info>>
Implementors§
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 AccountInfo<'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 Interface<'info, T>
impl<'info, T> ToAccountInfos<'info> for LazyAccount<'info, T>
Available on crate feature
lazy-account
only.