pub struct RequestWillBeSentEventParams {
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_has_extra_info: bool,
pub redirect_response: Option<Response>,
pub type: Option<ResourceType>,
pub frame_id: Option<FrameId>,
pub has_user_gesture: Option<bool>,
}Fields§
§request_id: RequestId§loader_id: LoaderId§document_url: String§request: Request§timestamp: MonotonicTime§wall_time: TimeSinceEpoch§initiator: Initiator§redirect_has_extra_info: bool§redirect_response: Option<Response>§type: Option<ResourceType>§frame_id: Option<FrameId>§has_user_gesture: Option<bool>Trait Implementations§
Source§impl Clone for RequestWillBeSentEventParams
impl Clone for RequestWillBeSentEventParams
Source§fn clone(&self) -> RequestWillBeSentEventParams
fn clone(&self) -> RequestWillBeSentEventParams
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 RequestWillBeSentEventParams
impl Debug for RequestWillBeSentEventParams
Source§impl<'de> Deserialize<'de> for RequestWillBeSentEventParams
impl<'de> Deserialize<'de> for RequestWillBeSentEventParams
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
Source§impl PartialEq for RequestWillBeSentEventParams
impl PartialEq for RequestWillBeSentEventParams
Source§fn eq(&self, other: &RequestWillBeSentEventParams) -> bool
fn eq(&self, other: &RequestWillBeSentEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestWillBeSentEventParams
Auto Trait Implementations§
impl Freeze for RequestWillBeSentEventParams
impl RefUnwindSafe for RequestWillBeSentEventParams
impl Send for RequestWillBeSentEventParams
impl Sync for RequestWillBeSentEventParams
impl Unpin for RequestWillBeSentEventParams
impl UnwindSafe for RequestWillBeSentEventParams
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