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

Transformation to an AccountInfo struct.

Required Methods§

fn to_account_info(&self) -> AccountInfo<'info>

Implementors§

§

impl<'info, T> ToAccountInfo<'info> for T
where T: AsRef<AccountInfo<'info>>,