No, it is only data. USB 2.0, 3, 4 refer to data speed. USB A/B/C refer to connector shape. There are min/max wattages associated with both of those, but USB Power Delivery is yet another USB spec that supersedes those limits, and it only requires USB on the power supply. That’s why USB-PD works on iPhones with Lightning ports, and why 140W power on MacBooks works through MagSafe (and not USB-C). Apple associates USB-C with charging speed to differentiate their charging cables, but the spec is about the connector, not speed. Though it never caught on, even a USB-A charger could deliver up to 100W via USB-PD 1.0. The first few Galaxy Z Flip models only supported USB 2.0, didn’t affect fast charging, and no one noticed.
Well if we're going to get pedantic about it yes but also no. Usb 3.0 also includes specs for fast charging that's done by using both power lines at the same time. You have to use the 3.0 spec to be able to charge a 3.0 speeds, but just because you use the 3.0 spec, does not mean that it does charge at 3.0 speeds.