Struct sota::http::http_client::ResponseData [] [src]

pub struct ResponseData {
    pub code: StatusCode,
    pub body: Vec<u8>,
}

Wraps the HTTP Status Code as well as any returned body.

Fields

code
body

Trait Implementations

impl Display for ResponseData
[src]

fn fmt(&self, f: &mut Formatter) -> FmtResult

Formats the value using the given formatter.

Derived Implementations

impl Debug for ResponseData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.