Struct rusoto_core::request::BufferedHttpResponse [−][src]
pub struct BufferedHttpResponse {
pub status: StatusCode,
pub body: Bytes,
pub headers: HeaderMap<String>,
}Expand description
Stores the buffered response from a HTTP request.
Fields
status: StatusCodeStatus code of HTTP Request
body: BytesContents of Response
headers: HeaderMap<String>Response headers
Implementations
! Best effort to turn response body into more readable &str.
Trait Implementations
Best effort based Debug implementation to make generic error’s body more readable.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BufferedHttpResponse
impl Send for BufferedHttpResponse
impl Sync for BufferedHttpResponse
impl Unpin for BufferedHttpResponse
impl UnwindSafe for BufferedHttpResponse
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