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> ToAccountInfos<'info> for AmountToUiAmount<'info>
where 'info: 'info,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 AttestationPermissionInit<'info>
where 'info: 'info,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'info> ToAccountInfos<'info> for VrfSetCallback<'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,