SnapshotEntryAccount

Trait SnapshotEntryAccount 

Source
pub trait SnapshotEntryAccount {
    // Required methods
    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§