Each electric bike will have a specific rating(s) for how water resistant they are, from no specific, tested protection (bad or just not proven) to protection from low-pressure water jets (good) or even submersion (best). These levels of protection can be rated based on the Ingress Protection code