#[repr(C)]pub struct ngx_http_upstream_headers_in_t {Show 28 fields
pub headers: ngx_list_t,
pub trailers: ngx_list_t,
pub status_n: usize,
pub status_line: ngx_str_t,
pub status: *mut ngx_table_elt_s,
pub date: *mut ngx_table_elt_s,
pub server: *mut ngx_table_elt_s,
pub connection: *mut ngx_table_elt_s,
pub expires: *mut ngx_table_elt_s,
pub etag: *mut ngx_table_elt_s,
pub x_accel_expires: *mut ngx_table_elt_s,
pub x_accel_redirect: *mut ngx_table_elt_s,
pub x_accel_limit_rate: *mut ngx_table_elt_s,
pub content_type: *mut ngx_table_elt_s,
pub content_length: *mut ngx_table_elt_s,
pub last_modified: *mut ngx_table_elt_s,
pub location: *mut ngx_table_elt_s,
pub refresh: *mut ngx_table_elt_s,
pub www_authenticate: *mut ngx_table_elt_s,
pub transfer_encoding: *mut ngx_table_elt_s,
pub vary: *mut ngx_table_elt_s,
pub cache_control: *mut ngx_table_elt_s,
pub set_cookie: *mut ngx_table_elt_s,
pub content_length_n: i64,
pub last_modified_time: i64,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§headers: ngx_list_t
§trailers: ngx_list_t
§status_n: usize
§status_line: ngx_str_t
§status: *mut ngx_table_elt_s
§date: *mut ngx_table_elt_s
§server: *mut ngx_table_elt_s
§connection: *mut ngx_table_elt_s
§expires: *mut ngx_table_elt_s
§etag: *mut ngx_table_elt_s
§x_accel_expires: *mut ngx_table_elt_s
§x_accel_redirect: *mut ngx_table_elt_s
§x_accel_limit_rate: *mut ngx_table_elt_s
§content_type: *mut ngx_table_elt_s
§content_length: *mut ngx_table_elt_s
§last_modified: *mut ngx_table_elt_s
§location: *mut ngx_table_elt_s
§refresh: *mut ngx_table_elt_s
§www_authenticate: *mut ngx_table_elt_s
§transfer_encoding: *mut ngx_table_elt_s
§vary: *mut ngx_table_elt_s
§cache_control: *mut ngx_table_elt_s
§content_length_n: i64
§last_modified_time: i64
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_upstream_headers_in_t
impl ngx_http_upstream_headers_in_t
pub fn connection_close(&self) -> u32
pub fn set_connection_close(&mut self, val: u32)
pub unsafe fn connection_close_raw( this: *const ngx_http_upstream_headers_in_t, ) -> u32
pub unsafe fn set_connection_close_raw( this: *mut ngx_http_upstream_headers_in_t, val: u32, )
pub fn chunked(&self) -> u32
pub fn set_chunked(&mut self, val: u32)
pub unsafe fn chunked_raw(this: *const ngx_http_upstream_headers_in_t) -> u32
pub unsafe fn set_chunked_raw( this: *mut ngx_http_upstream_headers_in_t, val: u32, )
pub fn no_cache(&self) -> u32
pub fn set_no_cache(&mut self, val: u32)
pub unsafe fn no_cache_raw(this: *const ngx_http_upstream_headers_in_t) -> u32
pub unsafe fn set_no_cache_raw( this: *mut ngx_http_upstream_headers_in_t, val: u32, )
pub fn expired(&self) -> u32
pub fn set_expired(&mut self, val: u32)
pub unsafe fn expired_raw(this: *const ngx_http_upstream_headers_in_t) -> u32
pub unsafe fn set_expired_raw( this: *mut ngx_http_upstream_headers_in_t, val: u32, )
pub fn new_bitfield_1( connection_close: u32, chunked: u32, no_cache: u32, expired: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_upstream_headers_in_t
impl Clone for ngx_http_upstream_headers_in_t
Source§fn clone(&self) -> ngx_http_upstream_headers_in_t
fn clone(&self) -> ngx_http_upstream_headers_in_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ngx_http_upstream_headers_in_t
Auto Trait Implementations§
impl Freeze for ngx_http_upstream_headers_in_t
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more