pub struct RequestWillBeSentEvent {
pub request_id: RequestId,
pub loader_id: LoaderId,
pub document_url: Option<String>,
pub request: Request,
pub timestamp: f64,
pub wall_time: f64,
pub initiator: RequestInitiator,
pub frame_id: Option<FrameId>,
pub has_user_gesture: Option<bool>,
pub resource_type: Option<String>,
pub redirect_response: Option<Response>,
}Expand description
Event: Network.requestWillBeSent
Fields§
§request_id: RequestIdRequest identifier.
loader_id: LoaderIdLoader identifier.
document_url: Option<String>URL of the document this request is loaded for.
request: RequestRequest data.
timestamp: f64Timestamp.
wall_time: f64Timestamp.
initiator: RequestInitiatorRequest initiator.
frame_id: Option<FrameId>Frame identifier.
has_user_gesture: Option<bool>Whether this request is a navigation request.
resource_type: Option<String>Type of the request.
redirect_response: Option<Response>Redirect response data. Present only if this request was triggered by a redirect.
Trait Implementations§
Source§impl Clone for RequestWillBeSentEvent
impl Clone for RequestWillBeSentEvent
Source§fn clone(&self) -> RequestWillBeSentEvent
fn clone(&self) -> RequestWillBeSentEvent
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 RequestWillBeSentEvent
impl Debug for RequestWillBeSentEvent
Source§impl<'de> Deserialize<'de> for RequestWillBeSentEvent
impl<'de> Deserialize<'de> for RequestWillBeSentEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RequestWillBeSentEvent
impl RefUnwindSafe for RequestWillBeSentEvent
impl Send for RequestWillBeSentEvent
impl Sync for RequestWillBeSentEvent
impl Unpin for RequestWillBeSentEvent
impl UnwindSafe for RequestWillBeSentEvent
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