pub struct RequestHeaders
pub user: Vec<(String, String)>,
pub session: Option<String>,
pub ha_sync_mode: Option<String>,
pub authorization: Option<String>,
The headers sent with a request besides its content type.
Fields
user: Vec<(String, String)>The caller’s headers, the User-Agent among them.
session: Option<String>The connection’s session ID, sent as X-Kinetica-Session: SQL #name temp tables belong to the session that creates them.
ha_sync_mode: Option<String>The HA synchronicity mode, sent as X-Kinetica-Group when it is not the default.
The Authorization header, if any; see authorization_header.
Trait Implementations
Source
impl Clone for RequestHeaders
Source
fn clone(&self) -> RequestHeaders
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 moreSource
impl Debug for RequestHeaders
Source
impl Default for RequestHeaders
Source
fn default() -> RequestHeaders
Returns the “default value” for a type. Read more