Rust processing result set
The result set comes back as a collection of rows. A row can be easily unpacked:
// This for loop to get the results
for row in result_set.rows {
let (firstname, lastname): (String, String) = row.try_into()?;
println!("{} {}", firstname, lastname);
}