#[repr(C)]pub struct ngx_http_variable_s {
pub name: ngx_str_t,
pub set_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_variable_value_t, _: usize)>,
pub get_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_variable_value_t, _: usize) -> isize>,
pub data: usize,
pub flags: usize,
pub index: usize,
}
Fields§
§name: ngx_str_t
§set_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_variable_value_t, _: usize)>
§get_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_variable_value_t, _: usize) -> isize>
§data: usize
§flags: usize
§index: usize
Trait Implementations§
Source§impl Clone for ngx_http_variable_s
impl Clone for ngx_http_variable_s
Source§fn clone(&self) -> ngx_http_variable_s
fn clone(&self) -> ngx_http_variable_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_variable_s
impl Debug for ngx_http_variable_s
impl Copy for ngx_http_variable_s
Auto Trait Implementations§
impl Freeze for ngx_http_variable_s
impl RefUnwindSafe for ngx_http_variable_s
impl !Send for ngx_http_variable_s
impl !Sync for ngx_http_variable_s
impl Unpin for ngx_http_variable_s
impl UnwindSafe for ngx_http_variable_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