Newbie ownership issue

If you want, ask aerospike lib maintainers to change put() to:

fn put<A: AsRef<Bin>>(..., bins: &[A]) ...
// or if a slice isn’t necessary and iterator works
fn put<I: IntoIterator<Item=A>, A: AsRef<Bin>>(iter: I) ...

Then you won’t need that second Vec of references.