pub trait SnapshotEntryAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(
        &mut self,
        delegation: Pubkey,
        id: u64,
        snapshot_frame: Pubkey,
        stake_amount: u64
    ) -> Result<()>; }
Expand description

SnapshotEntryAccount

Required Methods§

source

fn pubkey(&self) -> Pubkey

source

fn init(
    &mut self,
    delegation: Pubkey,
    id: u64,
    snapshot_frame: Pubkey,
    stake_amount: u64
) -> Result<()>

Implementations on Foreign Types§

source§

impl SnapshotEntryAccount for Account<'_, SnapshotEntry>

source§

fn pubkey(&self) -> Pubkey

source§

fn init(
    &mut self,
    delegation: Pubkey,
    id: u64,
    snapshot_frame: Pubkey,
    stake_amount: u64
) -> Result<()>

Implementors§