Function urlencoding::encode [−][src]
pub fn encode(data: &str) -> Cow<'_, str>
Expand description
Percent-encodes every byte except alphanumerics and -
, _
, .
, ~
. Assumes UTF-8 encoding.
Call .into_owned()
if you need a String