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