I'm not sure what you mean by "rim".
You might get some shelter by using a drum, rather than a disk, brake mechanism for your genny. (Say by putting the magnets on the inside of the brake drum and building a stator with the coils plus a laminated counter-pole structure.)
The genny would be water-resistant but not watertight, especially since it would face toward the wind when running, partly toward it when feathered, and would tend to keep things dry and relatively dust-free.