pub trait ReadableAccountInfo: Sized {
    // Required methods
    fn pubkey(&self) -> &[u8] ;
    fn owner(&self) -> &[u8] ;
    fn lamports(&self) -> i64;
    fn executable(&self) -> bool;
    fn rent_epoch(&self) -> i64;
    fn data(&self) -> &[u8] ;
    fn write_version(&self) -> i64;
    fn txn_signature(&self) -> Option<&[u8]>;
}

Required Methods§

source

fn pubkey(&self) -> &[u8]

source

fn owner(&self) -> &[u8]

source

fn lamports(&self) -> i64

source

fn executable(&self) -> bool

source

fn rent_epoch(&self) -> i64

source

fn data(&self) -> &[u8]

source

fn write_version(&self) -> i64

source

fn txn_signature(&self) -> Option<&[u8]>

Implementations on Foreign Types§

source§

impl<'a> ReadableAccountInfo for ReplicaAccountInfoV2<'a>

source§

fn pubkey(&self) -> &[u8]

source§

fn owner(&self) -> &[u8]

source§

fn lamports(&self) -> i64

source§

fn executable(&self) -> bool

source§

fn rent_epoch(&self) -> i64

source§

fn data(&self) -> &[u8]

source§

fn write_version(&self) -> i64

source§

fn txn_signature(&self) -> Option<&[u8]>

Implementors§