Skip to main content

path_segment

Function path_segment 

Source
pub fn path_segment(value: &str) -> String
Expand description

Percent-encode one path segment or query value, for paths passed to Client::request. Identifiers such as revision ids may contain / and :, which must not reach the path raw.