Struct aws_sdk_rust::aws::common::request::HttpResponse
[−]
[src]
pub struct HttpResponse {
pub status: u16,
pub body: String,
pub body_buffer: Vec<u8>,
pub is_body: bool,
pub headers: HashMap<String, String>,
}Wraps the Hyper Response that comes back from AWS S3.
All HTTP calls are sent from here.
Fields
status: u16
HTTP status code
body: String
XML payload
body_buffer: Vec<u8>
is_body: bool
headers: HashMap<String, String>
Unsorted list of header attributes
Trait Implementations
impl Debug for HttpResponse[src]
impl Default for HttpResponse[src]
fn default() -> HttpResponse
Returns the "default value" for a type. Read more
impl Decodable for HttpResponse[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<HttpResponse, __D::Error>
Deserialize a value using a Decoder.