Skip to main content

percent_encode

Function percent_encode 

Source
pub fn percent_encode(s: &str) -> String
Expand description

Percent-encode s with the RFC 3986 component set (see [COMPONENT]).

Use this for a single URL path segment, query key/value, or fragment.