#[repr(C)]pub struct ngx_http_upstream_conf_t {Show 63 fields
pub upstream: *mut ngx_http_upstream_srv_conf_s,
pub connect_timeout: usize,
pub send_timeout: usize,
pub read_timeout: usize,
pub next_upstream_timeout: usize,
pub send_lowat: usize,
pub buffer_size: usize,
pub limit_rate: usize,
pub busy_buffers_size: usize,
pub max_temp_file_size: usize,
pub temp_file_write_size: usize,
pub busy_buffers_size_conf: usize,
pub max_temp_file_size_conf: usize,
pub temp_file_write_size_conf: usize,
pub bufs: ngx_bufs_t,
pub ignore_headers: usize,
pub next_upstream: usize,
pub store_access: usize,
pub next_upstream_tries: usize,
pub buffering: isize,
pub request_buffering: isize,
pub pass_request_headers: isize,
pub pass_request_body: isize,
pub ignore_client_abort: isize,
pub intercept_errors: isize,
pub cyclic_temp_file: isize,
pub force_ranges: isize,
pub temp_path: *mut ngx_path_t,
pub hide_headers_hash: ngx_hash_t,
pub hide_headers: *mut ngx_array_t,
pub pass_headers: *mut ngx_array_t,
pub local: *mut ngx_http_upstream_local_t,
pub socket_keepalive: isize,
pub cache_zone: *mut ngx_shm_zone_s,
pub cache_value: *mut ngx_http_complex_value_t,
pub cache_min_uses: usize,
pub cache_use_stale: usize,
pub cache_methods: usize,
pub cache_max_range_offset: i64,
pub cache_lock: isize,
pub cache_lock_timeout: usize,
pub cache_lock_age: usize,
pub cache_revalidate: isize,
pub cache_convert_head: isize,
pub cache_background_update: isize,
pub cache_valid: *mut ngx_array_t,
pub cache_bypass: *mut ngx_array_t,
pub cache_purge: *mut ngx_array_t,
pub no_cache: *mut ngx_array_t,
pub store_lengths: *mut ngx_array_t,
pub store_values: *mut ngx_array_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub ssl: *mut ngx_ssl_s,
pub ssl_session_reuse: isize,
pub ssl_name: *mut ngx_http_complex_value_t,
pub ssl_server_name: isize,
pub ssl_verify: isize,
pub ssl_certificate: *mut ngx_http_complex_value_t,
pub ssl_certificate_key: *mut ngx_http_complex_value_t,
pub ssl_passwords: *mut ngx_array_t,
pub module: ngx_str_t,
pub spare: [u64; 2],
}
Fields§
§upstream: *mut ngx_http_upstream_srv_conf_s
§connect_timeout: usize
§send_timeout: usize
§read_timeout: usize
§next_upstream_timeout: usize
§send_lowat: usize
§buffer_size: usize
§limit_rate: usize
§busy_buffers_size: usize
§max_temp_file_size: usize
§temp_file_write_size: usize
§busy_buffers_size_conf: usize
§max_temp_file_size_conf: usize
§temp_file_write_size_conf: usize
§bufs: ngx_bufs_t
§ignore_headers: usize
§next_upstream: usize
§store_access: usize
§next_upstream_tries: usize
§buffering: isize
§request_buffering: isize
§pass_request_headers: isize
§pass_request_body: isize
§ignore_client_abort: isize
§intercept_errors: isize
§cyclic_temp_file: isize
§force_ranges: isize
§temp_path: *mut ngx_path_t
§hide_headers_hash: ngx_hash_t
§hide_headers: *mut ngx_array_t
§pass_headers: *mut ngx_array_t
§local: *mut ngx_http_upstream_local_t
§socket_keepalive: isize
§cache_zone: *mut ngx_shm_zone_s
§cache_value: *mut ngx_http_complex_value_t
§cache_min_uses: usize
§cache_use_stale: usize
§cache_methods: usize
§cache_max_range_offset: i64
§cache_lock: isize
§cache_lock_timeout: usize
§cache_lock_age: usize
§cache_revalidate: isize
§cache_convert_head: isize
§cache_background_update: isize
§cache_valid: *mut ngx_array_t
§cache_bypass: *mut ngx_array_t
§cache_purge: *mut ngx_array_t
§no_cache: *mut ngx_array_t
§store_lengths: *mut ngx_array_t
§store_values: *mut ngx_array_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§ssl: *mut ngx_ssl_s
§ssl_session_reuse: isize
§ssl_name: *mut ngx_http_complex_value_t
§ssl_server_name: isize
§ssl_verify: isize
§ssl_certificate: *mut ngx_http_complex_value_t
§ssl_certificate_key: *mut ngx_http_complex_value_t
§ssl_passwords: *mut ngx_array_t
§module: ngx_str_t
§spare: [u64; 2]
Implementations§
Source§impl ngx_http_upstream_conf_t
impl ngx_http_upstream_conf_t
pub fn cache(&self) -> i32
pub fn set_cache(&mut self, val: i32)
pub unsafe fn cache_raw(this: *const ngx_http_upstream_conf_t) -> i32
pub unsafe fn set_cache_raw(this: *mut ngx_http_upstream_conf_t, val: i32)
pub fn store(&self) -> i32
pub fn set_store(&mut self, val: i32)
pub unsafe fn store_raw(this: *const ngx_http_upstream_conf_t) -> i32
pub unsafe fn set_store_raw(this: *mut ngx_http_upstream_conf_t, val: i32)
pub fn intercept_404(&self) -> u32
pub fn set_intercept_404(&mut self, val: u32)
pub unsafe fn intercept_404_raw(this: *const ngx_http_upstream_conf_t) -> u32
pub unsafe fn set_intercept_404_raw( this: *mut ngx_http_upstream_conf_t, val: u32, )
pub fn change_buffering(&self) -> u32
pub fn set_change_buffering(&mut self, val: u32)
pub unsafe fn change_buffering_raw(this: *const ngx_http_upstream_conf_t) -> u32
pub unsafe fn set_change_buffering_raw( this: *mut ngx_http_upstream_conf_t, val: u32, )
pub fn pass_trailers(&self) -> u32
pub fn set_pass_trailers(&mut self, val: u32)
pub unsafe fn pass_trailers_raw(this: *const ngx_http_upstream_conf_t) -> u32
pub unsafe fn set_pass_trailers_raw( this: *mut ngx_http_upstream_conf_t, val: u32, )
pub fn preserve_output(&self) -> u32
pub fn set_preserve_output(&mut self, val: u32)
pub unsafe fn preserve_output_raw(this: *const ngx_http_upstream_conf_t) -> u32
pub unsafe fn set_preserve_output_raw( this: *mut ngx_http_upstream_conf_t, val: u32, )
pub fn new_bitfield_1( cache: i32, store: i32, intercept_404: u32, change_buffering: u32, pass_trailers: u32, preserve_output: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_upstream_conf_t
impl Clone for ngx_http_upstream_conf_t
Source§fn clone(&self) -> ngx_http_upstream_conf_t
fn clone(&self) -> ngx_http_upstream_conf_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 moreSource§impl Debug for ngx_http_upstream_conf_t
impl Debug for ngx_http_upstream_conf_t
impl Copy for ngx_http_upstream_conf_t
Auto Trait Implementations§
impl Freeze for ngx_http_upstream_conf_t
impl RefUnwindSafe for ngx_http_upstream_conf_t
impl !Send for ngx_http_upstream_conf_t
impl !Sync for ngx_http_upstream_conf_t
impl Unpin for ngx_http_upstream_conf_t
impl UnwindSafe for ngx_http_upstream_conf_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