Function url::query_to_str[src]
pub fn query_to_str(query: &Query) -> String
Converts an instance of a URI Query type to a string.
Example
extern crate url; fn main() { let query = vec!(("title".to_string(), "The Village".to_string()), ("north".to_string(), "52.91".to_string()), ("west".to_string(), "4.10".to_string())); println!("{}", url::query_to_str(&query)); // title=The%20Village&north=52.91&west=4.10 }let query = vec!(("title".to_string(), "The Village".to_string()), ("north".to_string(), "52.91".to_string()), ("west".to_string(), "4.10".to_string())); println!("{}", url::query_to_str(&query)); // title=The%20Village&north=52.91&west=4.10