Struct chromiumoxide::cdp::browser_protocol::fetch::EnableParams[][src]

pub struct EnableParams {
    pub patterns: Option<Vec<RequestPattern, Global>>,
    pub handle_auth_requests: Option<bool>,
}

Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth. enable

Fields

patterns: Option<Vec<RequestPattern, Global>>

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

handle_auth_requests: Option<bool>

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.

Implementations

impl EnableParams[src]

impl EnableParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for EnableParams[src]

impl Command for EnableParams[src]

type Response = EnableReturns

The type of the response this request triggers on the chromium server

impl Debug for EnableParams[src]

impl Default for EnableParams[src]

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

impl Method for EnableParams[src]

impl MethodType for EnableParams[src]

impl PartialEq<EnableParams> for EnableParams[src]

impl Serialize for EnableParams[src]

impl StructuralPartialEq for EnableParams[src]

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> 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>,