[][src]Struct nginx::ngx_http_headers_in_t

#[repr(C)]pub struct ngx_http_headers_in_t {
    pub headers: ngx_list_t,
    pub host: *mut ngx_table_elt_t,
    pub connection: *mut ngx_table_elt_t,
    pub if_modified_since: *mut ngx_table_elt_t,
    pub if_unmodified_since: *mut ngx_table_elt_t,
    pub if_match: *mut ngx_table_elt_t,
    pub if_none_match: *mut ngx_table_elt_t,
    pub user_agent: *mut ngx_table_elt_t,
    pub referer: *mut ngx_table_elt_t,
    pub content_length: *mut ngx_table_elt_t,
    pub content_range: *mut ngx_table_elt_t,
    pub content_type: *mut ngx_table_elt_t,
    pub range: *mut ngx_table_elt_t,
    pub if_range: *mut ngx_table_elt_t,
    pub transfer_encoding: *mut ngx_table_elt_t,
    pub te: *mut ngx_table_elt_t,
    pub expect: *mut ngx_table_elt_t,
    pub upgrade: *mut ngx_table_elt_t,
    pub accept_encoding: *mut ngx_table_elt_t,
    pub via: *mut ngx_table_elt_t,
    pub authorization: *mut ngx_table_elt_t,
    pub keep_alive: *mut ngx_table_elt_t,
    pub x_forwarded_for: ngx_array_t,
    pub x_real_ip: *mut ngx_table_elt_t,
    pub accept: *mut ngx_table_elt_t,
    pub accept_language: *mut ngx_table_elt_t,
    pub depth: *mut ngx_table_elt_t,
    pub destination: *mut ngx_table_elt_t,
    pub overwrite: *mut ngx_table_elt_t,
    pub date: *mut ngx_table_elt_t,
    pub user: ngx_str_t,
    pub passwd: ngx_str_t,
    pub cookies: ngx_array_t,
    pub server: ngx_str_t,
    pub content_length_n: off_t,
    pub keep_alive_n: time_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u16; 3],
}

Fields

headers: ngx_list_thost: *mut ngx_table_elt_tconnection: *mut ngx_table_elt_tif_modified_since: *mut ngx_table_elt_tif_unmodified_since: *mut ngx_table_elt_tif_match: *mut ngx_table_elt_tif_none_match: *mut ngx_table_elt_tuser_agent: *mut ngx_table_elt_treferer: *mut ngx_table_elt_tcontent_length: *mut ngx_table_elt_tcontent_range: *mut ngx_table_elt_tcontent_type: *mut ngx_table_elt_trange: *mut ngx_table_elt_tif_range: *mut ngx_table_elt_ttransfer_encoding: *mut ngx_table_elt_tte: *mut ngx_table_elt_texpect: *mut ngx_table_elt_tupgrade: *mut ngx_table_elt_taccept_encoding: *mut ngx_table_elt_tvia: *mut ngx_table_elt_tauthorization: *mut ngx_table_elt_tkeep_alive: *mut ngx_table_elt_tx_forwarded_for: ngx_array_tx_real_ip: *mut ngx_table_elt_taccept: *mut ngx_table_elt_taccept_language: *mut ngx_table_elt_tdepth: *mut ngx_table_elt_tdestination: *mut ngx_table_elt_toverwrite: *mut ngx_table_elt_tdate: *mut ngx_table_elt_tuser: ngx_str_tpasswd: ngx_str_tcookies: ngx_array_tserver: ngx_str_tcontent_length_n: off_tkeep_alive_n: time_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u16; 3]

Implementations

impl ngx_http_headers_in_t[src]

pub fn connection_type(&self) -> c_uint[src]

pub fn set_connection_type(&mut self, val: c_uint)[src]

pub fn chunked(&self) -> c_uint[src]

pub fn set_chunked(&mut self, val: c_uint)[src]

pub fn msie(&self) -> c_uint[src]

pub fn set_msie(&mut self, val: c_uint)[src]

pub fn msie6(&self) -> c_uint[src]

pub fn set_msie6(&mut self, val: c_uint)[src]

pub fn opera(&self) -> c_uint[src]

pub fn set_opera(&mut self, val: c_uint)[src]

pub fn gecko(&self) -> c_uint[src]

pub fn set_gecko(&mut self, val: c_uint)[src]

pub fn chrome(&self) -> c_uint[src]

pub fn set_chrome(&mut self, val: c_uint)[src]

pub fn safari(&self) -> c_uint[src]

pub fn set_safari(&mut self, val: c_uint)[src]

pub fn konqueror(&self) -> c_uint[src]

pub fn set_konqueror(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    connection_type: c_uint,
    chunked: c_uint,
    msie: c_uint,
    msie6: c_uint,
    opera: c_uint,
    gecko: c_uint,
    chrome: c_uint,
    safari: c_uint,
    konqueror: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

impl ngx_http_headers_in_t[src]

pub fn host_str(&self) -> String[src]

pub fn add(
    &mut self,
    pool: *mut ngx_pool_t,
    key: &str,
    value: &str
) -> Option<()>
[src]

Trait Implementations

impl Clone for ngx_http_headers_in_t[src]

impl Copy for ngx_http_headers_in_t[src]

impl Debug for ngx_http_headers_in_t[src]

impl IntoIterator for ngx_http_headers_in_t[src]

type Item = Header

The type of the elements being iterated over.

type IntoIter = ListIterator

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_headers_in_t

impl !Send for ngx_http_headers_in_t

impl !Sync for ngx_http_headers_in_t

impl Unpin for ngx_http_headers_in_t

impl UnwindSafe for ngx_http_headers_in_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.