Struct chrootable_https::Response [−][src]
pub struct Response {
pub status: u16,
pub headers: HashMap<String, String>,
pub cookies: Vec<String>,
pub body: Bytes,
}Fields
status: u16
headers: HashMap<String, String>
body: Bytes
Trait Implementations
impl Debug for Response[src]
impl Debug for Responsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<(Parts, Bytes)> for Response[src]
impl From<(Parts, Bytes)> for Response