Struct chrome_remote_interface_model::network::SetBypassServiceWorkerCommand[][src]

pub struct SetBypassServiceWorkerCommand { /* fields omitted */ }
This is supported on crate features Network and Debugger and Runtime and Security and experimental only.

Toggles ignoring of service worker for each request.

Implementations

impl SetBypassServiceWorkerCommand[src]

pub fn new(bypass: bool) -> Self[src]

pub fn bypass(&self) -> bool[src]

Bypass service worker and load from network.

Methods from Deref<Target = bool>

Trait Implementations

impl Clone for SetBypassServiceWorkerCommand[src]

impl Command for SetBypassServiceWorkerCommand[src]

type Return = SetBypassServiceWorkerReturn

Return type.

impl Debug for SetBypassServiceWorkerCommand[src]

impl Deref for SetBypassServiceWorkerCommand[src]

type Target = bool

The resulting type after dereferencing.

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

impl Serialize for SetBypassServiceWorkerCommand[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> 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.