pub trait Target {
    // Required methods
    fn base_url(&self) -> &'static str;
    fn method(&self) -> HTTPMethod;
    fn path(&self) -> &'static str;
    fn query(&self) -> HashMap<&'static str, &'static str>;
    fn headers(&self) -> HashMap<&'static str, &'static str>;
    fn body(&self) -> HTTPBody;
}

Required Methods§

source

fn base_url(&self) -> &'static str

source

fn method(&self) -> HTTPMethod

source

fn path(&self) -> &'static str

source

fn query(&self) -> HashMap<&'static str, &'static str>

source

fn headers(&self) -> HashMap<&'static str, &'static str>

source

fn body(&self) -> HTTPBody

Implementors§