Trait solana_sdk::account_info::IntoAccountInfo [−][src]
Constructs an AccountInfo
from self, used in conversion implementations.
Required methods
pub fn into_account_info(self) -> AccountInfo<'a>
[src]
Implementations on Foreign Types
impl<'a, T> IntoAccountInfo<'a> for &'a mut (Pubkey, T) where
T: Account,
[src]
T: Account,
Convert &’a mut (Pubkey, T) where T: Account into an AccountInfo
.
pub fn into_account_info(self) -> AccountInfo<'a>
[src]
impl<'a, T> IntoAccountInfo<'a> for (&'a Pubkey, &'a mut T) where
T: Account,
[src]
T: Account,
Convert (&’a Pubkey, &’a mut T) where T: Account into an AccountInfo
pub fn into_account_info(self) -> AccountInfo<'a>
[src]
impl<'a, T> IntoAccountInfo<'a> for (&'a Pubkey, bool, &'a mut T) where
T: Account,
[src]
T: Account,
Convert (&’a Pubkey, bool, &’a mut T) where T: Account into an
AccountInfo
.