For the road, you need a rigid rim, not too wide with a higher or lower profile depending on the desired performance.
For all-mountain riding, a low profile is ideal.
For cross-country riding, a lightweight, high-performance rim or a high-end aluminium rim (FZR-XC).
For gravity, free-ride, downhill, a very wide rim with a wide tyre to absorb the shocks.
For city, trekking and e-bike use, a versatile, double wall product, depending on the tyre's clearance and the rider's riding style, rather wide for comfortable use (20 to 23C) or narrower for more powerful use (19, 20C).
For cargo use, a robust double wall rim that will withstand heavy loads.