Struct chromiumoxide_cdp::cdp::browser_protocol::network::EventRequestWillBeSent [−][src]
pub struct EventRequestWillBeSent { pub request_id: RequestId, pub loader_id: LoaderId, pub document_url: String, pub request: Request, pub timestamp: MonotonicTime, pub wall_time: TimeSinceEpoch, pub initiator: Initiator, pub redirect_response: Option<Response>, pub type: Option<ResourceType>, pub frame_id: Option<FrameId>, pub has_user_gesture: Option<bool>, }
Expand description
Fired when page is about to send HTTP request. requestWillBeSent
Fields
request_id: RequestId
Request identifier.
loader_id: LoaderId
Loader identifier. Empty string if the request is fetched from worker.
document_url: String
URL of the document this request is loaded for.
request: Request
Request data.
timestamp: MonotonicTime
Timestamp.
wall_time: TimeSinceEpoch
Timestamp.
initiator: Initiator
Request initiator.
redirect_response: Option<Response>
Redirect response data.
type: Option<ResourceType>
Type of this resource.
frame_id: Option<FrameId>
Frame identifier.
has_user_gesture: Option<bool>
Whether the request is initiated by a user gesture. Defaults to false.
Implementations
Trait Implementations
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
Performs the conversion.
What kind of event this type is
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EventRequestWillBeSent
impl Send for EventRequestWillBeSent
impl Sync for EventRequestWillBeSent
impl Unpin for EventRequestWillBeSent
impl UnwindSafe for EventRequestWillBeSent
Blanket Implementations
Mutably borrows from an owned value. Read more