Trait UrlEncode

Source
pub trait UrlEncode {
    // Required method
    fn url_encode(&self, m: &mut HashMap<&'static str, String>);

    // Provided method
    fn encode(&self) -> String { ... }
}

Required Methods§

Source

fn url_encode(&self, m: &mut HashMap<&'static str, String>)

Provided Methods§

Source

fn encode(&self) -> String

Implementations on Foreign Types§

Source§

impl UrlEncode for ()

Source§

fn url_encode(&self, _m: &mut HashMap<&'static str, String>)

Source§

impl<T: UrlEncode> UrlEncode for Option<T>

Source§

fn url_encode(&self, m: &mut HashMap<&'static str, String>)

Source§

impl<T: UrlEncode> UrlEncode for &T

Source§

fn url_encode(&self, m: &mut HashMap<&'static str, String>)

Implementors§