macro_rules! as_list { ( $( $v:expr),* ) => { ... }; }
Expand description
Constructs a new List Value from a list of one or more native data types.
Examples
Write a list value to a record bin.
let list = as_list!("a", "b", "c");
let bin = as_bin!("list", list);
client.put(&WritePolicy::default(), &key, &vec![&bin]).unwrap();