Struct gerritlib::call::CallResponse [] [src]

pub struct CallResponse { /* fields omitted */ }

Methods

impl CallResponse
[src]

Returns the status code of the response

Indicates that the request failed

Indicates that the request succeeded

Converts the response into a result object. This also converts non okay response codes into errors.

Deserializes the response body into the given type

Like deserialize but consumes the response and will convert failed requests into proper errors.

Iterates over the headers.

Looks up the first matching header for a key.

Trait Implementations

impl Clone for CallResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CallResponse
[src]

Formats the value using the given formatter.