Function url::form_urlencoded::serialize_with_encoding [] [src]

pub fn serialize_with_encoding<I, K, V>(pairs: I, encoding_override: Option<EncodingRef>) -> String where I: IntoIterator, I::Item: Borrow<(K, V)>, K: AsRef<str>, V: AsRef<str>

Convert an iterator of (name, value) pairs into a string in the application/x-www-form-urlencoded format.

This function is only available if the query_encoding Cargo feature is enabled.

Arguments: