Struct ext_php_rs::ffi::sapi_headers_struct
source · #[repr(C)]pub struct sapi_headers_struct {
pub headers: zend_llist,
pub http_response_code: c_int,
pub send_default_content_type: c_uchar,
pub mimetype: *mut c_char,
pub http_status_line: *mut c_char,
}
Fields§
§headers: zend_llist
§http_response_code: c_int
§send_default_content_type: c_uchar
§mimetype: *mut c_char
§http_status_line: *mut c_char
Trait Implementations§
source§impl Clone for sapi_headers_struct
impl Clone for sapi_headers_struct
source§fn clone(&self) -> sapi_headers_struct
fn clone(&self) -> sapi_headers_struct
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 sapi_headers_struct
impl Debug for sapi_headers_struct
impl Copy for sapi_headers_struct
Auto Trait Implementations§
impl RefUnwindSafe for sapi_headers_struct
impl !Send for sapi_headers_struct
impl !Sync for sapi_headers_struct
impl Unpin for sapi_headers_struct
impl UnwindSafe for sapi_headers_struct
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