#[repr(C)]pub struct ngx_http_core_loc_conf_s {Show 85 fields
pub name: ngx_str_t,
pub escaped_name: ngx_str_t,
pub regex: *mut ngx_http_regex_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub static_locations: *mut ngx_http_location_tree_node_s,
pub regex_locations: *mut *mut ngx_http_core_loc_conf_s,
pub loc_conf: *mut *mut c_void,
pub limit_except: u32,
pub limit_except_loc_conf: *mut *mut c_void,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>,
pub alias: usize,
pub root: ngx_str_t,
pub post_action: ngx_str_t,
pub root_lengths: *mut ngx_array_t,
pub root_values: *mut ngx_array_t,
pub types: *mut ngx_array_t,
pub types_hash: ngx_hash_t,
pub default_type: ngx_str_t,
pub client_max_body_size: i64,
pub directio: i64,
pub directio_alignment: i64,
pub client_body_buffer_size: usize,
pub send_lowat: usize,
pub postpone_output: usize,
pub sendfile_max_chunk: usize,
pub read_ahead: usize,
pub subrequest_output_buffer_size: usize,
pub limit_rate: *mut ngx_http_complex_value_t,
pub limit_rate_after: *mut ngx_http_complex_value_t,
pub client_body_timeout: usize,
pub send_timeout: usize,
pub keepalive_time: usize,
pub keepalive_timeout: usize,
pub lingering_time: usize,
pub lingering_timeout: usize,
pub resolver_timeout: usize,
pub auth_delay: usize,
pub resolver: *mut ngx_resolver_s,
pub keepalive_header: i64,
pub keepalive_requests: usize,
pub keepalive_disable: usize,
pub satisfy: usize,
pub lingering_close: usize,
pub if_modified_since: usize,
pub max_ranges: usize,
pub client_body_in_file_only: usize,
pub client_body_in_single_buffer: isize,
pub internal: isize,
pub sendfile: isize,
pub aio: isize,
pub aio_write: isize,
pub tcp_nopush: isize,
pub tcp_nodelay: isize,
pub reset_timedout_connection: isize,
pub absolute_redirect: isize,
pub server_name_in_redirect: isize,
pub port_in_redirect: isize,
pub msie_padding: isize,
pub msie_refresh: isize,
pub log_not_found: isize,
pub log_subrequest: isize,
pub recursive_error_pages: isize,
pub server_tokens: usize,
pub chunked_transfer_encoding: isize,
pub etag: isize,
pub gzip_vary: isize,
pub gzip_http_version: usize,
pub gzip_proxied: usize,
pub gzip_disable: *mut ngx_array_t,
pub thread_pool: *mut ngx_thread_pool_s,
pub thread_pool_value: *mut ngx_http_complex_value_t,
pub disable_symlinks: usize,
pub disable_symlinks_from: *mut ngx_http_complex_value_t,
pub error_pages: *mut ngx_array_t,
pub client_body_temp_path: *mut ngx_path_t,
pub open_file_cache: *mut ngx_open_file_cache_t,
pub open_file_cache_valid: i64,
pub open_file_cache_min_uses: usize,
pub open_file_cache_errors: isize,
pub open_file_cache_events: isize,
pub error_log: *mut ngx_log_s,
pub types_hash_max_size: usize,
pub types_hash_bucket_size: usize,
pub locations: *mut ngx_queue_s,
}
Fields§
§name: ngx_str_t
§escaped_name: ngx_str_t
§regex: *mut ngx_http_regex_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§static_locations: *mut ngx_http_location_tree_node_s
§regex_locations: *mut *mut ngx_http_core_loc_conf_s
§loc_conf: *mut *mut c_void
§limit_except: u32
§limit_except_loc_conf: *mut *mut c_void
§handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>
§alias: usize
§root: ngx_str_t
§post_action: ngx_str_t
§root_lengths: *mut ngx_array_t
§root_values: *mut ngx_array_t
§types: *mut ngx_array_t
§types_hash: ngx_hash_t
§default_type: ngx_str_t
§client_max_body_size: i64
§directio: i64
§directio_alignment: i64
§client_body_buffer_size: usize
§send_lowat: usize
§postpone_output: usize
§sendfile_max_chunk: usize
§read_ahead: usize
§subrequest_output_buffer_size: usize
§limit_rate: *mut ngx_http_complex_value_t
§limit_rate_after: *mut ngx_http_complex_value_t
§client_body_timeout: usize
§send_timeout: usize
§keepalive_time: usize
§keepalive_timeout: usize
§lingering_time: usize
§lingering_timeout: usize
§resolver_timeout: usize
§auth_delay: usize
§resolver: *mut ngx_resolver_s
§keepalive_header: i64
§keepalive_requests: usize
§keepalive_disable: usize
§satisfy: usize
§lingering_close: usize
§if_modified_since: usize
§max_ranges: usize
§client_body_in_file_only: usize
§client_body_in_single_buffer: isize
§internal: isize
§sendfile: isize
§aio: isize
§aio_write: isize
§tcp_nopush: isize
§tcp_nodelay: isize
§reset_timedout_connection: isize
§absolute_redirect: isize
§server_name_in_redirect: isize
§port_in_redirect: isize
§msie_padding: isize
§msie_refresh: isize
§log_not_found: isize
§log_subrequest: isize
§recursive_error_pages: isize
§server_tokens: usize
§chunked_transfer_encoding: isize
§etag: isize
§gzip_vary: isize
§gzip_http_version: usize
§gzip_proxied: usize
§gzip_disable: *mut ngx_array_t
§thread_pool: *mut ngx_thread_pool_s
§thread_pool_value: *mut ngx_http_complex_value_t
§disable_symlinks: usize
§disable_symlinks_from: *mut ngx_http_complex_value_t
§error_pages: *mut ngx_array_t
§client_body_temp_path: *mut ngx_path_t
§open_file_cache: *mut ngx_open_file_cache_t
§open_file_cache_valid: i64
§open_file_cache_min_uses: usize
§open_file_cache_errors: isize
§open_file_cache_events: isize
§error_log: *mut ngx_log_s
§types_hash_max_size: usize
§types_hash_bucket_size: usize
§locations: *mut ngx_queue_s
Implementations§
Source§impl ngx_http_core_loc_conf_s
impl ngx_http_core_loc_conf_s
pub fn noname(&self) -> u32
pub fn set_noname(&mut self, val: u32)
pub unsafe fn noname_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_noname_raw(this: *mut ngx_http_core_loc_conf_s, val: u32)
pub fn lmt_excpt(&self) -> u32
pub fn set_lmt_excpt(&mut self, val: u32)
pub unsafe fn lmt_excpt_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_lmt_excpt_raw(this: *mut ngx_http_core_loc_conf_s, val: u32)
pub fn named(&self) -> u32
pub fn set_named(&mut self, val: u32)
pub unsafe fn named_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_named_raw(this: *mut ngx_http_core_loc_conf_s, val: u32)
pub fn exact_match(&self) -> u32
pub fn set_exact_match(&mut self, val: u32)
pub unsafe fn exact_match_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_exact_match_raw(this: *mut ngx_http_core_loc_conf_s, val: u32)
pub fn noregex(&self) -> u32
pub fn set_noregex(&mut self, val: u32)
pub unsafe fn noregex_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_noregex_raw(this: *mut ngx_http_core_loc_conf_s, val: u32)
pub fn auto_redirect(&self) -> u32
pub fn set_auto_redirect(&mut self, val: u32)
pub unsafe fn auto_redirect_raw(this: *const ngx_http_core_loc_conf_s) -> u32
pub unsafe fn set_auto_redirect_raw( this: *mut ngx_http_core_loc_conf_s, val: u32, )
pub fn gzip_disable_msie6(&self) -> u32
pub fn set_gzip_disable_msie6(&mut self, val: u32)
pub unsafe fn gzip_disable_msie6_raw( this: *const ngx_http_core_loc_conf_s, ) -> u32
pub unsafe fn set_gzip_disable_msie6_raw( this: *mut ngx_http_core_loc_conf_s, val: u32, )
pub fn gzip_disable_degradation(&self) -> u32
pub fn set_gzip_disable_degradation(&mut self, val: u32)
pub unsafe fn gzip_disable_degradation_raw( this: *const ngx_http_core_loc_conf_s, ) -> u32
pub unsafe fn set_gzip_disable_degradation_raw( this: *mut ngx_http_core_loc_conf_s, val: u32, )
pub fn new_bitfield_1( noname: u32, lmt_excpt: u32, named: u32, exact_match: u32, noregex: u32, auto_redirect: u32, gzip_disable_msie6: u32, gzip_disable_degradation: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for ngx_http_core_loc_conf_s
impl Clone for ngx_http_core_loc_conf_s
Source§fn clone(&self) -> ngx_http_core_loc_conf_s
fn clone(&self) -> ngx_http_core_loc_conf_s
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 moreSource§impl Debug for ngx_http_core_loc_conf_s
impl Debug for ngx_http_core_loc_conf_s
impl Copy for ngx_http_core_loc_conf_s
Auto Trait Implementations§
impl Freeze for ngx_http_core_loc_conf_s
impl RefUnwindSafe for ngx_http_core_loc_conf_s
impl !Send for ngx_http_core_loc_conf_s
impl !Sync for ngx_http_core_loc_conf_s
impl Unpin for ngx_http_core_loc_conf_s
impl UnwindSafe for ngx_http_core_loc_conf_s
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