Struct libgerrit::call::CallResponse [] [src]

pub struct CallResponse { /* fields omitted */ }

represent a http resonse

Methods

impl CallResponse
[src]

[src]

Returns the status code of the response

[src]

Indicates that the request failed

[src]

Indicates that the request succeeded

[src]

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

[src]

Deserializes the response body into the given type

[src]

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

[src]

Iterates over the headers.

[src]

Looks up the first matching header for a key.

[src]

give back the body content

Trait Implementations

impl Clone for CallResponse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CallResponse
[src]

[src]

Formats the value using the given formatter.