Provide an example for passing rust vec and hashmap as an argument for a function that takes a table.