SnapshotEntryAccount

Trait SnapshotEntryAccount 

Source
pub trait SnapshotEntryAccount {
    // Required method
    fn new(
        &mut self,
        id: u64,
        delegate: Pubkey,
        snapshot: Pubkey,
        stake_offset: u64,
        stake_amount: u64,
    ) -> Result<()>;
}
Expand description

SnapshotEntryAccount

Required Methods§

Source

fn new( &mut self, id: u64, delegate: Pubkey, snapshot: Pubkey, stake_offset: u64, stake_amount: u64, ) -> Result<()>

Implementations on Foreign Types§

Source§

impl SnapshotEntryAccount for Account<'_, SnapshotEntry>

Source§

fn new( &mut self, id: u64, delegate: Pubkey, snapshot: Pubkey, stake_offset: u64, stake_amount: u64, ) -> Result<()>

Implementors§