pub struct PostResponse<H, B, PB> {
    pub post_body: PB,
    pub headers: H,
    pub body: B,
}
Expand description

The return value of Http::post().

Fields

post_body: PB

The body to post to the server as part of the request.

Note: Implementations should drop the handle to avoid deadlocks.

headers: H

The headers of the post response.

body: B

The body of the post response.

Trait Implementations

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.