pub fn percent_encode(s: &str) -> String
Percent-encode s with the RFC 3986 component set (see [COMPONENT]).
s
COMPONENT
Use this for a single URL path segment, query key/value, or fragment.