pub trait InstructionsAccount {
    fn get_accounts_vec(&self) -> Vec<AccountMeta> ;

    fn get_instruction<P: BorshDeserialize + BorshSerialize + BorshSize>(
        &self,
        program_id: Pubkey,
        instruction_id: u8,
        params: P
    ) -> Instruction { ... } fn get_instruction_cast<P: NoUninit>(
        &self,
        program_id: Pubkey,
        instruction_id: u8,
        params: P
    ) -> Instruction { ... } fn get_instruction_wrapped_pod<'a, P: WrappedPod<'a>>(
        &self,
        program_id: Pubkey,
        instruction_id: u8,
        params: P
    ) -> Instruction { ... } }

Required Methods§

Provided Methods§

Implementors§