[][src]Struct nginx::ngx_http_core_loc_conf_s

#[repr(C)]pub struct ngx_http_core_loc_conf_s {
    pub name: ngx_str_t,
    pub regex: *mut ngx_http_regex_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub static_locations: *mut ngx_http_location_tree_node_t,
    pub regex_locations: *mut *mut ngx_http_core_loc_conf_t,
    pub loc_conf: *mut *mut c_void,
    pub limit_except: u32,
    pub limit_except_loc_conf: *mut *mut c_void,
    pub handler: ngx_http_handler_pt,
    pub alias: size_t,
    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: off_t,
    pub directio: off_t,
    pub directio_alignment: off_t,
    pub client_body_buffer_size: size_t,
    pub send_lowat: size_t,
    pub postpone_output: size_t,
    pub sendfile_max_chunk: size_t,
    pub read_ahead: size_t,
    pub subrequest_output_buffer_size: size_t,
    pub limit_rate: *mut ngx_http_complex_value_t,
    pub limit_rate_after: *mut ngx_http_complex_value_t,
    pub client_body_timeout: ngx_msec_t,
    pub send_timeout: ngx_msec_t,
    pub keepalive_timeout: ngx_msec_t,
    pub lingering_time: ngx_msec_t,
    pub lingering_timeout: ngx_msec_t,
    pub resolver_timeout: ngx_msec_t,
    pub auth_delay: ngx_msec_t,
    pub resolver: *mut ngx_resolver_t,
    pub keepalive_header: time_t,
    pub keepalive_requests: ngx_uint_t,
    pub keepalive_disable: ngx_uint_t,
    pub satisfy: ngx_uint_t,
    pub lingering_close: ngx_uint_t,
    pub if_modified_since: ngx_uint_t,
    pub max_ranges: ngx_uint_t,
    pub client_body_in_file_only: ngx_uint_t,
    pub client_body_in_single_buffer: ngx_flag_t,
    pub internal: ngx_flag_t,
    pub sendfile: ngx_flag_t,
    pub aio: ngx_flag_t,
    pub aio_write: ngx_flag_t,
    pub tcp_nopush: ngx_flag_t,
    pub tcp_nodelay: ngx_flag_t,
    pub reset_timedout_connection: ngx_flag_t,
    pub absolute_redirect: ngx_flag_t,
    pub server_name_in_redirect: ngx_flag_t,
    pub port_in_redirect: ngx_flag_t,
    pub msie_padding: ngx_flag_t,
    pub msie_refresh: ngx_flag_t,
    pub log_not_found: ngx_flag_t,
    pub log_subrequest: ngx_flag_t,
    pub recursive_error_pages: ngx_flag_t,
    pub server_tokens: ngx_uint_t,
    pub chunked_transfer_encoding: ngx_flag_t,
    pub etag: ngx_flag_t,
    pub gzip_vary: ngx_flag_t,
    pub gzip_http_version: ngx_uint_t,
    pub gzip_proxied: ngx_uint_t,
    pub gzip_disable: *mut ngx_array_t,
    pub thread_pool: *mut ngx_thread_pool_t,
    pub thread_pool_value: *mut ngx_http_complex_value_t,
    pub disable_symlinks: ngx_uint_t,
    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: time_t,
    pub open_file_cache_min_uses: ngx_uint_t,
    pub open_file_cache_errors: ngx_flag_t,
    pub open_file_cache_events: ngx_flag_t,
    pub error_log: *mut ngx_log_t,
    pub types_hash_max_size: ngx_uint_t,
    pub types_hash_bucket_size: ngx_uint_t,
    pub locations: *mut ngx_queue_t,
}

Fields

name: ngx_str_tregex: *mut ngx_http_regex_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>static_locations: *mut ngx_http_location_tree_node_tregex_locations: *mut *mut ngx_http_core_loc_conf_tloc_conf: *mut *mut c_voidlimit_except: u32limit_except_loc_conf: *mut *mut c_voidhandler: ngx_http_handler_ptalias: size_troot: ngx_str_tpost_action: ngx_str_troot_lengths: *mut ngx_array_troot_values: *mut ngx_array_ttypes: *mut ngx_array_ttypes_hash: ngx_hash_tdefault_type: ngx_str_tclient_max_body_size: off_tdirectio: off_tdirectio_alignment: off_tclient_body_buffer_size: size_tsend_lowat: size_tpostpone_output: size_tsendfile_max_chunk: size_tread_ahead: size_tsubrequest_output_buffer_size: size_tlimit_rate: *mut ngx_http_complex_value_tlimit_rate_after: *mut ngx_http_complex_value_tclient_body_timeout: ngx_msec_tsend_timeout: ngx_msec_tkeepalive_timeout: ngx_msec_tlingering_time: ngx_msec_tlingering_timeout: ngx_msec_tresolver_timeout: ngx_msec_tauth_delay: ngx_msec_tresolver: *mut ngx_resolver_tkeepalive_header: time_tkeepalive_requests: ngx_uint_tkeepalive_disable: ngx_uint_tsatisfy: ngx_uint_tlingering_close: ngx_uint_tif_modified_since: ngx_uint_tmax_ranges: ngx_uint_tclient_body_in_file_only: ngx_uint_tclient_body_in_single_buffer: ngx_flag_tinternal: ngx_flag_tsendfile: ngx_flag_taio: ngx_flag_taio_write: ngx_flag_ttcp_nopush: ngx_flag_ttcp_nodelay: ngx_flag_treset_timedout_connection: ngx_flag_tabsolute_redirect: ngx_flag_tserver_name_in_redirect: ngx_flag_tport_in_redirect: ngx_flag_tmsie_padding: ngx_flag_tmsie_refresh: ngx_flag_tlog_not_found: ngx_flag_tlog_subrequest: ngx_flag_trecursive_error_pages: ngx_flag_tserver_tokens: ngx_uint_tchunked_transfer_encoding: ngx_flag_tetag: ngx_flag_tgzip_vary: ngx_flag_tgzip_http_version: ngx_uint_tgzip_proxied: ngx_uint_tgzip_disable: *mut ngx_array_tthread_pool: *mut ngx_thread_pool_tthread_pool_value: *mut ngx_http_complex_value_tdisable_symlinks: ngx_uint_tdisable_symlinks_from: *mut ngx_http_complex_value_terror_pages: *mut ngx_array_tclient_body_temp_path: *mut ngx_path_topen_file_cache: *mut ngx_open_file_cache_topen_file_cache_valid: time_topen_file_cache_min_uses: ngx_uint_topen_file_cache_errors: ngx_flag_topen_file_cache_events: ngx_flag_terror_log: *mut ngx_log_ttypes_hash_max_size: ngx_uint_ttypes_hash_bucket_size: ngx_uint_tlocations: *mut ngx_queue_t

Implementations

impl ngx_http_core_loc_conf_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    noname: c_uint,
    lmt_excpt: c_uint,
    named: c_uint,
    exact_match: c_uint,
    noregex: c_uint,
    auto_redirect: c_uint,
    gzip_disable_msie6: c_uint,
    gzip_disable_degradation: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_http_core_loc_conf_s[src]

impl Copy for ngx_http_core_loc_conf_s[src]

impl Debug for ngx_http_core_loc_conf_s[src]

Auto Trait Implementations

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

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.