pub struct RawResponse
pub status: u16,
pub reason: String,
pub content_type: Option<String>,
pub body: Bytes,
A response as received, before its status is interpreted.
Kinetica can report an error with a non-2xx status and still send an Avro body that says what went wrong, so the caller needs both; see Kinetica::submit_request_raw, which interprets them.
Fields
status: u16HTTP status code
reason: StringThe reason phrase the server sent with the status, e.g. “Bad Gateway” or “Kinetica is exiting”
content_type: Option<String>Content-Type header, if present
body: BytesResponse body
Trait Implementations
Source
impl Clone for RawResponse
Source
fn clone(&self) -> RawResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more