Trait doapi::request::DoRequest [] [src]

pub trait DoRequest<T>: BaseRequest where T: Deserialize + NamedResponse {
    fn request(&self) -> Result<Request<Fresh>> { ... }
    fn retrieve_json(&self) -> Result<String> { ... }
    fn retrieve_raw_response(&self) -> Result<Response> { ... }
    fn retrieve_header(&self) -> Result<HeaderOnly, String> { ... }
    fn retrieve_obj(&self, obj: String) -> Result<T, String> { ... }
    fn retrieve(&self) -> Result<T, String> { ... }
}

Provided Methods

fn request(&self) -> Result<Request<Fresh>>

fn retrieve_json(&self) -> Result<String>

fn retrieve_raw_response(&self) -> Result<Response>

fn retrieve_header(&self) -> Result<HeaderOnly, String>

fn retrieve_obj(&self, obj: String) -> Result<T, String>

fn retrieve(&self) -> Result<T, String>

Implementors