Struct chromiumoxide::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>,
}

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

impl EventRequestWillBeSent[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for EventRequestWillBeSent[src]

impl Debug for EventRequestWillBeSent[src]

impl<'de> Deserialize<'de> for EventRequestWillBeSent[src]

impl Into<CdpEvent> for EventRequestWillBeSent[src]

impl IntoEventKind for EventRequestWillBeSent[src]

impl Method for EventRequestWillBeSent[src]

impl MethodType for EventRequestWillBeSent[src]

impl PartialEq<EventRequestWillBeSent> for EventRequestWillBeSent[src]

impl Serialize for EventRequestWillBeSent[src]

impl StructuralPartialEq for EventRequestWillBeSent[src]

impl TryFrom<CdpEvent> for EventRequestWillBeSent[src]

type Error = CdpEvent

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Event for T where
    T: SealedEvent, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,