Trait PercentEncoding
Other items inrdftk_iri
pub trait PercentEncoding { fn encode(&self, for_uri: bool) -> Self where Self: Sized; }
Encode the corresponding type using percent-encoding rules.
fn encode(&self, for_uri: bool) -> Self where Self: Sized,
Construct a new value that has been percent encoded. If for_uri is true this method will also encode all non-ascii characters as a sequence of UTF-8 octets in percent encoded form.
for_uri
impl PercentEncoding for Authority
impl PercentEncoding for Fragment
impl PercentEncoding for IRI
impl PercentEncoding for Path
impl PercentEncoding for Query
impl PercentEncoding for UserInfo