pub fn encode(text: &str) -> String
Percent-encodes a query value: everything but the unreserved characters (RFC 3986), as UTF-8 bytes.