The newborn planet population emerging from ring-like structures in discs