UrlExt

Trait UrlExt 

Source
pub trait UrlExt {
    // Required methods
    fn mt_query_pairs(&self) -> MtQueryPairsParse<'_> ;
    fn mt_query_pairs_mut(&mut self) -> UrlMtQuery<'_>;
}

Required Methods§

Source

fn mt_query_pairs(&self) -> MtQueryPairsParse<'_>

Parse a Motion Twin querystring. Motion Twin uses ; as the parameter separator.

Pairs are separated by ; instead of &. Keys and values are URL-encoded.

See https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2

We recommend that HTTP server implementors, and in particular, CGI implementors support the use of “;” in place of “&” to save authors the trouble of escaping “&” characters in this manner.

Source

fn mt_query_pairs_mut(&mut self) -> UrlMtQuery<'_>

Implementations on Foreign Types§

Source§

impl UrlExt for Url

Available on crate feature url only.

Implementors§