pub trait Request: Sized + Clone {
    type Builder: Default;
    type Response;

    const REQUEST_TYPE: &'static str;

    // Required methods
    fn url(&self) -> &String;
    fn into_url(self) -> String;

    // Provided method
    fn builder() -> Self::Builder { ... }
}

Required Associated Types§

Required Associated Constants§

source

const REQUEST_TYPE: &'static str

Required Methods§

source

fn url(&self) -> &String

source

fn into_url(self) -> String

Provided Methods§

source

fn builder() -> Self::Builder

Object Safety§

This trait is not object safe.

Implementors§