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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".