pub fn entity_from_acc<'a, 'b: 'a, T: Entity>(
acc: &'a AccountInfo<'b>,
program_id: &Pubkey,
) -> Result<EntityGuard<'a, 'b, T>, ProgramError>pub fn entity_from_acc<'a, 'b: 'a, T: Entity>(
acc: &'a AccountInfo<'b>,
program_id: &Pubkey,
) -> Result<EntityGuard<'a, 'b, T>, ProgramError>