Struct wasmtime_wasi_http::struct::ActiveRequest
source · pub struct ActiveRequest {
pub id: u32,
pub active_request: bool,
pub method: Method,
pub scheme: Option<Scheme>,
pub path_with_query: String,
pub authority: String,
pub headers: HashMap<String, Vec<Vec<u8>>>,
pub body: u32,
}Fields§
§id: u32§active_request: bool§method: Method§scheme: Option<Scheme>§path_with_query: String§headers: HashMap<String, Vec<Vec<u8>>>§body: u32Implementations§
Trait Implementations§
source§impl Clone for ActiveRequest
impl Clone for ActiveRequest
source§fn clone(&self) -> ActiveRequest
fn clone(&self) -> ActiveRequest
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ActiveRequest
impl Send for ActiveRequest
impl Sync for ActiveRequest
impl Unpin for ActiveRequest
impl UnwindSafe for ActiveRequest
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