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

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 { ... } }

Required methods

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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

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

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

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

Provided methods

Implementations on Foreign Types

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

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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

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

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

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

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

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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

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

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

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

Implementors

impl ReadableAccount for Account[src]

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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

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

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

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

impl ReadableAccount for AccountSharedData[src]

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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

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

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

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