I hope you have already been through the following posts in order to learn control flow and iteration in Rust:
Rust: Quick Start & Exploring Cargo
Rust: Begin the Journey with CODE
Basically, Rust is no different compared to other programming languages in the context of loops and iteration. If you have already worked with any language like C, C++, Java, Scala, etc., then it will be much easier and quicker to go through this blog and get ready for handling the control flow of your logic.