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.