pub fn from_tuple_array<T: Serialize + ?Sized>(arr: &T) -> Result<String>Expand description
Format an array of tuples to the URL query string.
let params = [("foo", "bar"), ("baz", "quux")];
assert_eq!(clia_url_qs::from_tuple_array(¶ms).unwrap(), "foo=bar&baz=quux");If input is invalid, return error message.