Struct chrome_remote_interface_model::page::SetInterceptFileChooserDialogCommand[][src]

pub struct SetInterceptFileChooserDialogCommand { /* fields omitted */ }
This is supported on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event Page.fileChooserOpened is emitted.

Implementations

impl SetInterceptFileChooserDialogCommand[src]

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

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

Methods from Deref<Target = bool>

Trait Implementations

impl Clone for SetInterceptFileChooserDialogCommand[src]

impl Command for SetInterceptFileChooserDialogCommand[src]

type Return = SetInterceptFileChooserDialogReturn

Return type.

impl Debug for SetInterceptFileChooserDialogCommand[src]

impl Deref for SetInterceptFileChooserDialogCommand[src]

type Target = bool

The resulting type after dereferencing.

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

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