Struct rusoto_core::request::HttpResponse [−][src]
pub struct HttpResponse {
pub status: StatusCode,
pub body: ByteStream,
pub headers: HeaderMap<String>,
}Expand description
Stores the response from a HTTP request.
Fields
status: StatusCodeStatus code of HTTP Request
body: ByteStreamContents of Response
headers: HeaderMap<String>Response headers
Implementations
Buffer the full response body in memory, resulting in a BufferedHttpResponse.
Auto Trait Implementations
impl !RefUnwindSafe for HttpResponse
impl Send for HttpResponse
impl !Sync for HttpResponse
impl Unpin for HttpResponse
impl !UnwindSafe for HttpResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more