Which data structure has iter() method in rust and is there only one way to iterate over the collection of items in rust.