Trait solana_sdk::account::ReadableAccount
source · [−]pub trait ReadableAccount: Sized {
fn lamports(&self) -> u64;
fn data(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
;
fn owner(&self) -> &Pubkey;
fn executable(&self) -> bool;
fn rent_epoch(&self) -> Epoch;
fn to_account_shared_data(&self) -> AccountSharedData { ... }
}