#[repr(C)]pub struct ecs_http_request_t {
pub id: u64,
pub method: ecs_http_method_t,
pub path: *mut c_char,
pub body: *mut c_char,
pub headers: [ecs_http_key_value_t; 32],
pub params: [ecs_http_key_value_t; 32],
pub header_count: i32,
pub param_count: i32,
pub conn: *mut ecs_http_connection_t,
}Expand description
A request
Fields§
§id: u64§method: ecs_http_method_t§path: *mut c_char§body: *mut c_char§headers: [ecs_http_key_value_t; 32]§params: [ecs_http_key_value_t; 32]§header_count: i32§param_count: i32§conn: *mut ecs_http_connection_tTrait Implementations§
Source§impl Clone for ecs_http_request_t
impl Clone for ecs_http_request_t
Source§fn clone(&self) -> ecs_http_request_t
fn clone(&self) -> ecs_http_request_t
Returns a duplicate 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 ecs_http_request_t
impl Debug for ecs_http_request_t
impl Copy for ecs_http_request_t
Auto Trait Implementations§
impl Freeze for ecs_http_request_t
impl RefUnwindSafe for ecs_http_request_t
impl !Send for ecs_http_request_t
impl !Sync for ecs_http_request_t
impl Unpin for ecs_http_request_t
impl UnwindSafe for ecs_http_request_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