Struct salt::Response [] [src]

pub struct Response { /* fields omitted */ }

Represents an HTTP response.

Methods

impl Response
[src]

Get the status.

Set the status and move the Response.

Take the body.

Set the body and move the Response.

Set a Header and move the Response.

Trait Implementations

impl Default for Response
[src]

Returns the "default value" for a type. Read more

impl IntoFuture for Response
[src]

The item that the future may resolve with.

The error that the future may resolve with.

The future that this type can be converted into.

Consumes this object and produces a future.