[][src]Struct nginx::ngx_http_upstream_headers_in_t

#[repr(C)]pub struct ngx_http_upstream_headers_in_t {
    pub headers: ngx_list_t,
    pub trailers: ngx_list_t,
    pub status_n: ngx_uint_t,
    pub status_line: ngx_str_t,
    pub status: *mut ngx_table_elt_t,
    pub date: *mut ngx_table_elt_t,
    pub server: *mut ngx_table_elt_t,
    pub connection: *mut ngx_table_elt_t,
    pub expires: *mut ngx_table_elt_t,
    pub etag: *mut ngx_table_elt_t,
    pub x_accel_expires: *mut ngx_table_elt_t,
    pub x_accel_redirect: *mut ngx_table_elt_t,
    pub x_accel_limit_rate: *mut ngx_table_elt_t,
    pub content_type: *mut ngx_table_elt_t,
    pub content_length: *mut ngx_table_elt_t,
    pub last_modified: *mut ngx_table_elt_t,
    pub location: *mut ngx_table_elt_t,
    pub accept_ranges: *mut ngx_table_elt_t,
    pub www_authenticate: *mut ngx_table_elt_t,
    pub transfer_encoding: *mut ngx_table_elt_t,
    pub vary: *mut ngx_table_elt_t,
    pub content_encoding: *mut ngx_table_elt_t,
    pub cache_control: ngx_array_t,
    pub cookies: ngx_array_t,
    pub content_length_n: off_t,
    pub last_modified_time: time_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Fields

headers: ngx_list_ttrailers: ngx_list_tstatus_n: ngx_uint_tstatus_line: ngx_str_tstatus: *mut ngx_table_elt_tdate: *mut ngx_table_elt_tserver: *mut ngx_table_elt_tconnection: *mut ngx_table_elt_texpires: *mut ngx_table_elt_tetag: *mut ngx_table_elt_tx_accel_expires: *mut ngx_table_elt_tx_accel_redirect: *mut ngx_table_elt_tx_accel_limit_rate: *mut ngx_table_elt_tcontent_type: *mut ngx_table_elt_tcontent_length: *mut ngx_table_elt_tlast_modified: *mut ngx_table_elt_tlocation: *mut ngx_table_elt_taccept_ranges: *mut ngx_table_elt_twww_authenticate: *mut ngx_table_elt_ttransfer_encoding: *mut ngx_table_elt_tvary: *mut ngx_table_elt_tcontent_encoding: *mut ngx_table_elt_tcache_control: ngx_array_tcookies: ngx_array_tcontent_length_n: off_tlast_modified_time: time_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ngx_http_upstream_headers_in_t[src]

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

pub fn set_connection_close(&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 new_bitfield_1(
    connection_close: c_uint,
    chunked: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_http_upstream_headers_in_t[src]

impl Copy for ngx_http_upstream_headers_in_t[src]

impl Debug for ngx_http_upstream_headers_in_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_upstream_headers_in_t

impl !Send for ngx_http_upstream_headers_in_t

impl !Sync for ngx_http_upstream_headers_in_t

impl Unpin for ngx_http_upstream_headers_in_t

impl UnwindSafe for ngx_http_upstream_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<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.