Struct ngx_http_headers_in_t

Source
#[repr(C)]
pub struct ngx_http_headers_in_t {
Show 39 fields pub headers: ngx_list_t, pub host: *mut ngx_table_elt_s, pub connection: *mut ngx_table_elt_s, pub if_modified_since: *mut ngx_table_elt_s, pub if_unmodified_since: *mut ngx_table_elt_s, pub if_match: *mut ngx_table_elt_s, pub if_none_match: *mut ngx_table_elt_s, pub user_agent: *mut ngx_table_elt_s, pub referer: *mut ngx_table_elt_s, pub content_length: *mut ngx_table_elt_s, pub content_range: *mut ngx_table_elt_s, pub content_type: *mut ngx_table_elt_s, pub range: *mut ngx_table_elt_s, pub if_range: *mut ngx_table_elt_s, pub transfer_encoding: *mut ngx_table_elt_s, pub te: *mut ngx_table_elt_s, pub expect: *mut ngx_table_elt_s, pub upgrade: *mut ngx_table_elt_s, pub accept_encoding: *mut ngx_table_elt_s, pub via: *mut ngx_table_elt_s, pub authorization: *mut ngx_table_elt_s, pub keep_alive: *mut ngx_table_elt_s, pub x_forwarded_for: *mut ngx_table_elt_s, pub x_real_ip: *mut ngx_table_elt_s, pub accept: *mut ngx_table_elt_s, pub accept_language: *mut ngx_table_elt_s, pub depth: *mut ngx_table_elt_s, pub destination: *mut ngx_table_elt_s, pub overwrite: *mut ngx_table_elt_s, pub date: *mut ngx_table_elt_s, pub cookie: *mut ngx_table_elt_s, pub user: ngx_str_t, pub passwd: ngx_str_t, pub server: ngx_str_t, pub content_length_n: i64, pub keep_alive_n: i64, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub __bindgen_padding_0: [u16; 3],
}

Fields§

§headers: ngx_list_t§host: *mut ngx_table_elt_s§connection: *mut ngx_table_elt_s§if_modified_since: *mut ngx_table_elt_s§if_unmodified_since: *mut ngx_table_elt_s§if_match: *mut ngx_table_elt_s§if_none_match: *mut ngx_table_elt_s§user_agent: *mut ngx_table_elt_s§referer: *mut ngx_table_elt_s§content_length: *mut ngx_table_elt_s§content_range: *mut ngx_table_elt_s§content_type: *mut ngx_table_elt_s§range: *mut ngx_table_elt_s§if_range: *mut ngx_table_elt_s§transfer_encoding: *mut ngx_table_elt_s§te: *mut ngx_table_elt_s§expect: *mut ngx_table_elt_s§upgrade: *mut ngx_table_elt_s§accept_encoding: *mut ngx_table_elt_s§via: *mut ngx_table_elt_s§authorization: *mut ngx_table_elt_s§keep_alive: *mut ngx_table_elt_s§x_forwarded_for: *mut ngx_table_elt_s§x_real_ip: *mut ngx_table_elt_s§accept: *mut ngx_table_elt_s§accept_language: *mut ngx_table_elt_s§depth: *mut ngx_table_elt_s§destination: *mut ngx_table_elt_s§overwrite: *mut ngx_table_elt_s§date: *mut ngx_table_elt_s§cookie: *mut ngx_table_elt_s§user: ngx_str_t§passwd: ngx_str_t§server: ngx_str_t§content_length_n: i64§keep_alive_n: i64§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: [u16; 3]

Implementations§

Source§

impl ngx_http_headers_in_t

Source

pub fn connection_type(&self) -> u32

Source

pub fn set_connection_type(&mut self, val: u32)

Source

pub unsafe fn connection_type_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_connection_type_raw( this: *mut ngx_http_headers_in_t, val: u32, )

Source

pub fn chunked(&self) -> u32

Source

pub fn set_chunked(&mut self, val: u32)

Source

pub unsafe fn chunked_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_chunked_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn multi(&self) -> u32

Source

pub fn set_multi(&mut self, val: u32)

Source

pub unsafe fn multi_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_multi_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn multi_linked(&self) -> u32

Source

pub fn set_multi_linked(&mut self, val: u32)

Source

pub unsafe fn multi_linked_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_multi_linked_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn msie(&self) -> u32

Source

pub fn set_msie(&mut self, val: u32)

Source

pub unsafe fn msie_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_msie_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn msie6(&self) -> u32

Source

pub fn set_msie6(&mut self, val: u32)

Source

pub unsafe fn msie6_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_msie6_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn opera(&self) -> u32

Source

pub fn set_opera(&mut self, val: u32)

Source

pub unsafe fn opera_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_opera_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn gecko(&self) -> u32

Source

pub fn set_gecko(&mut self, val: u32)

Source

pub unsafe fn gecko_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_gecko_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn chrome(&self) -> u32

Source

pub fn set_chrome(&mut self, val: u32)

Source

pub unsafe fn chrome_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_chrome_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn safari(&self) -> u32

Source

pub fn set_safari(&mut self, val: u32)

Source

pub unsafe fn safari_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_safari_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn konqueror(&self) -> u32

Source

pub fn set_konqueror(&mut self, val: u32)

Source

pub unsafe fn konqueror_raw(this: *const ngx_http_headers_in_t) -> u32

Source

pub unsafe fn set_konqueror_raw(this: *mut ngx_http_headers_in_t, val: u32)

Source

pub fn new_bitfield_1( connection_type: u32, chunked: u32, multi: u32, multi_linked: u32, msie: u32, msie6: u32, opera: u32, gecko: u32, chrome: u32, safari: u32, konqueror: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>

Trait Implementations§

Source§

impl Clone for ngx_http_headers_in_t

Source§

fn clone(&self) -> ngx_http_headers_in_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ngx_http_headers_in_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for ngx_http_headers_in_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.