pub struct RequestInterceptedEventParams {
pub interception_id: InterceptionId,
pub request: Request,
pub frame_id: FrameId,
pub resource_type: ResourceType,
pub is_navigation_request: bool,
pub is_download: Option<bool>,
pub redirect_url: Option<String>,
pub auth_challenge: Option<AuthChallenge>,
pub response_error_reason: Option<ErrorReason>,
pub response_status_code: Option<JsUInt>,
pub response_headers: Option<Headers>,
pub request_id: Option<RequestId>,
}Fields§
§interception_id: InterceptionId§request: Request§frame_id: FrameId§resource_type: ResourceType§is_download: Option<bool>§redirect_url: Option<String>§auth_challenge: Option<AuthChallenge>§response_error_reason: Option<ErrorReason>§response_status_code: Option<JsUInt>§response_headers: Option<Headers>§request_id: Option<RequestId>Trait Implementations§
Source§impl Clone for RequestInterceptedEventParams
impl Clone for RequestInterceptedEventParams
Source§fn clone(&self) -> RequestInterceptedEventParams
fn clone(&self) -> RequestInterceptedEventParams
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<'de> Deserialize<'de> for RequestInterceptedEventParams
impl<'de> Deserialize<'de> for RequestInterceptedEventParams
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 RequestInterceptedEventParams
impl PartialEq for RequestInterceptedEventParams
Source§fn eq(&self, other: &RequestInterceptedEventParams) -> bool
fn eq(&self, other: &RequestInterceptedEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestInterceptedEventParams
Auto Trait Implementations§
impl Freeze for RequestInterceptedEventParams
impl RefUnwindSafe for RequestInterceptedEventParams
impl Send for RequestInterceptedEventParams
impl Sync for RequestInterceptedEventParams
impl Unpin for RequestInterceptedEventParams
impl UnwindSafe for RequestInterceptedEventParams
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