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

Transformation to an AccountInfo struct.

Required Methods§

Implementors§

source§

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