pub trait FeeAccount {
// Required methods
fn pubkey(&self) -> Pubkey;
fn init(&mut self, worker: Pubkey, bump: u8) -> Result<()>;
}Expand description
Trait for reading and writing to a fee account.
pub trait FeeAccount {
// Required methods
fn pubkey(&self) -> Pubkey;
fn init(&mut self, worker: Pubkey, bump: u8) -> Result<()>;
}Trait for reading and writing to a fee account.