pub trait WorkerAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(
        &mut self,
        authority: &mut Signer<'_>,
        id: u64,
        signatory: &Signer<'_>
    ) -> Result<(), Error>; fn update(&mut self, settings: WorkerSettings) -> Result<(), Error>; }
Expand description

WorkerAccount

Required Methods

Implementations on Foreign Types

Implementors