Skip to main content
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.

authorization: Option<String>

The Authorization header, if any; see authorization_header.

Trait Implementations

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
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more