#[repr(C)]pub struct switch_http_request_s {Show 19 fields
pub method: *const c_char,
pub uri: *const c_char,
pub qs: *const c_char,
pub host: *const c_char,
pub port: switch_port_t,
pub from: *const c_char,
pub user_agent: *const c_char,
pub referer: *const c_char,
pub user: *const c_char,
pub keepalive: switch_bool_t,
pub content_type: *const c_char,
pub content_length: switch_size_t,
pub bytes_header: switch_size_t,
pub bytes_read: switch_size_t,
pub bytes_buffered: switch_size_t,
pub headers: *mut switch_event_t,
pub user_data: *mut c_void,
pub _buffer: *mut c_char,
pub _destroy_headers: switch_bool_t,
}Fields§
§method: *const c_char§uri: *const c_char§qs: *const c_char§host: *const c_char§port: switch_port_t§from: *const c_char§user_agent: *const c_char§referer: *const c_char§user: *const c_char§keepalive: switch_bool_t§content_type: *const c_char§content_length: switch_size_t§bytes_header: switch_size_t§bytes_read: switch_size_t§bytes_buffered: switch_size_t§headers: *mut switch_event_t§user_data: *mut c_void§_buffer: *mut c_char§_destroy_headers: switch_bool_tTrait Implementations§
Source§impl Clone for switch_http_request_s
impl Clone for switch_http_request_s
Source§fn clone(&self) -> switch_http_request_s
fn clone(&self) -> switch_http_request_s
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 switch_http_request_s
impl Debug for switch_http_request_s
Source§impl Default for switch_http_request_s
impl Default for switch_http_request_s
impl Copy for switch_http_request_s
Auto Trait Implementations§
impl Freeze for switch_http_request_s
impl RefUnwindSafe for switch_http_request_s
impl !Send for switch_http_request_s
impl !Sync for switch_http_request_s
impl Unpin for switch_http_request_s
impl UnsafeUnpin for switch_http_request_s
impl UnwindSafe for switch_http_request_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