pub trait FeeAccount {
    // Required methods
    fn pubkey(&self) -> Pubkey;
    fn init(&mut self, worker: Pubkey) -> Result<()>;
}
Expand description

Trait for reading and writing to a fee account.

Required Methods§

source

fn pubkey(&self) -> Pubkey

Get the pubkey of the fee account.

source

fn init(&mut self, worker: Pubkey) -> Result<()>

Initialize the account to hold fee object.

Implementations on Foreign Types§

source§

impl FeeAccount for Account<'_, Fee>

source§

fn pubkey(&self) -> Pubkey

source§

fn init(&mut self, worker: Pubkey) -> Result<()>

Implementors§