Beginner roller skating
Rain Won't Ruin Your Skates. The Bag You Put Them In Will.

Skates are built to be rolled on wet roads, and getting them wet is not the mistake. Zipping them straight into a bag afterwards is. Sealed in plastic, the water has nowhere to go, it sits against every metal part for hours, and that's what rusts. Leave them out until they're dry before they go anywhere - a wipe if they're soaked, but mostly just air and a bit of patience. It isn't skate maintenance, it's the same logic as wet shoes.
Skates are built to be rolled on wet roads. Getting them wet is not the mistake, and it is not something you can realistically avoid anyway — roads are wet sometimes.
Zipping them straight into a bag afterwards is the mistake. Sealed in plastic, the water has nowhere to go. It sits against every metal part for hours, and that is what rusts: the bearings, the axles, the hardware.
The fix is not a maintenance routine. Leave them out until they are dry before they go anywhere. A wipe if they are soaked, then air and a bit of patience.
It is the same logic as wet shoes, and it is worth separating from deeper skate cleaning, which is its own subject with its own answers.
Keep going: this is one section of the full Roller Skating for Beginners guide — sizing, gear, stopping, and where to skate, in one page.