Trait IntoAccountInfo

Source
pub trait IntoAccountInfo<'a> {
    // Required method
    fn into_account_info(self) -> AccountInfo<'a>;
}
Expand description

Constructs an AccountInfo from self, used in conversion implementations.

Required Methods§

Implementations on Foreign Types§

Source§

impl<'a, T: Account> IntoAccountInfo<'a> for &'a mut (Address, T)

Convert &’a mut (Address, T) where T: Account into an AccountInfo.

Source§

impl<'a, T: Account> IntoAccountInfo<'a> for (&'a Address, bool, &'a mut T)

Convert (&’a Address, bool, &’a mut T) where T: Account into an AccountInfo.

Source§

impl<'a, T: Account> IntoAccountInfo<'a> for (&'a Address, &'a mut T)

Convert (&’a Address, &’a mut T) where T: Account into an AccountInfo

Implementors§