Trait solana_sdk::account::ReadableAccount[][src]

pub trait ReadableAccount: Sized {
    fn lamports(&self) -> u64;
fn data(&self) -> &Vec<u8>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn owner(&self) -> &Pubkey;
fn executable(&self) -> bool;
fn rent_epoch(&self) -> Epoch; }

Required methods

fn lamports(&self) -> u64[src]

fn data(&self) -> &Vec<u8>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

fn owner(&self) -> &Pubkey[src]

fn executable(&self) -> bool[src]

fn rent_epoch(&self) -> Epoch[src]

Loading content...

Implementations on Foreign Types

impl ReadableAccount for Ref<'_, AccountSharedData>[src]

impl ReadableAccount for Ref<'_, Account>[src]

Loading content...

Implementors

impl ReadableAccount for Account[src]

impl ReadableAccount for AccountSharedData[src]

Loading content...