Struct chromiumoxide::handler::http::HttpRequest
source · pub struct HttpRequest {Show 14 fields
pub from_memory_cache: bool,
pub failure_text: Option<String>,
pub interception_id: Option<InterceptionId>,
pub response: Option<Response>,
pub headers: HashMap<String, String>,
pub frame: Option<FrameId>,
pub is_navigation_request: bool,
pub allow_interception: bool,
pub interception_handled: bool,
pub method: Option<String>,
pub url: Option<String>,
pub resource_type: Option<String>,
pub post_data: Option<String>,
pub redirect_chain: Vec<HttpRequest>,
/* private fields */
}Fields§
§from_memory_cache: bool§failure_text: Option<String>§interception_id: Option<InterceptionId>§response: Option<Response>§headers: HashMap<String, String>§frame: Option<FrameId>§allow_interception: bool§interception_handled: bool§method: Option<String>§url: Option<String>§resource_type: Option<String>§post_data: Option<String>§redirect_chain: Vec<HttpRequest>Implementations§
source§impl HttpRequest
impl HttpRequest
pub fn new( request_id: RequestId, frame: Option<FrameId>, interception_id: Option<InterceptionId>, allow_interception: bool, redirect_chain: Vec<HttpRequest> ) -> Self
pub fn request_id(&self) -> &RequestId
Trait Implementations§
source§impl Clone for HttpRequest
impl Clone for HttpRequest
source§fn clone(&self) -> HttpRequest
fn clone(&self) -> HttpRequest
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 HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl UnwindSafe for HttpRequest
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