solana_sdk::account_info

Trait Account

Source
pub trait Account {
    // Required method
    fn get(&mut self) -> (&mut u64, &mut [u8], &Pubkey, bool, u64);
}
Expand description

Provides information required to construct an AccountInfo, used in conversion implementations.

Required Methods§

Source

fn get(&mut self) -> (&mut u64, &mut [u8], &Pubkey, bool, u64)

Implementors§

Source§

impl Account for Account

Return the information required to construct an AccountInfo. Used by the AccountInfo conversion implementations.