Trait solana_sdk::account::ReadableAccount [−][src]
pub trait ReadableAccount: Sized { fn lamports(&self) -> u64; fn data(&self) -> &[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]ⓘ
[src]
fn owner(&self) -> &Pubkey
[src]
fn executable(&self) -> bool
[src]
fn rent_epoch(&self) -> Epoch
[src]
Provided methods
fn to_account_shared_data(&self) -> AccountSharedData
[src]
Implementations on Foreign Types
impl ReadableAccount for Ref<'_, AccountSharedData>
[src]
impl ReadableAccount for Ref<'_, AccountSharedData>
[src]impl ReadableAccount for Ref<'_, Account>
[src]
impl ReadableAccount for Ref<'_, Account>
[src]Implementors
impl ReadableAccount for Account
[src]
impl ReadableAccount for Account
[src]