[Rust] Restructure type APIs into types module
#7779
Merged
Loading
types module
#7779