#[repr(C)]pub struct ngx_http_ssi_command_t {
pub name: ngx_str_t,
pub handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_ssi_ctx_t, _: *mut *mut ngx_str_t) -> isize>,
pub params: *mut ngx_http_ssi_param_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§name: ngx_str_t
§handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_ssi_ctx_t, _: *mut *mut ngx_str_t) -> isize>
§params: *mut ngx_http_ssi_param_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_ssi_command_t
impl ngx_http_ssi_command_t
pub fn conditional(&self) -> u32
pub fn set_conditional(&mut self, val: u32)
pub unsafe fn conditional_raw(this: *const ngx_http_ssi_command_t) -> u32
pub unsafe fn set_conditional_raw(this: *mut ngx_http_ssi_command_t, val: u32)
pub fn block(&self) -> u32
pub fn set_block(&mut self, val: u32)
pub unsafe fn block_raw(this: *const ngx_http_ssi_command_t) -> u32
pub unsafe fn set_block_raw(this: *mut ngx_http_ssi_command_t, val: u32)
pub fn flush(&self) -> u32
pub fn set_flush(&mut self, val: u32)
pub unsafe fn flush_raw(this: *const ngx_http_ssi_command_t) -> u32
pub unsafe fn set_flush_raw(this: *mut ngx_http_ssi_command_t, val: u32)
pub fn new_bitfield_1( conditional: u32, block: u32, flush: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_ssi_command_t
impl Clone for ngx_http_ssi_command_t
Source§fn clone(&self) -> ngx_http_ssi_command_t
fn clone(&self) -> ngx_http_ssi_command_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_ssi_command_t
impl Debug for ngx_http_ssi_command_t
impl Copy for ngx_http_ssi_command_t
Auto Trait Implementations§
impl Freeze for ngx_http_ssi_command_t
impl RefUnwindSafe for ngx_http_ssi_command_t
impl !Send for ngx_http_ssi_command_t
impl !Sync for ngx_http_ssi_command_t
impl Unpin for ngx_http_ssi_command_t
impl UnwindSafe for ngx_http_ssi_command_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