pub struct Enable {
pub enable_file_chooser_opened_event: Option<bool>,
}Expand description
Enables page domain notifications.
Fields§
§enable_file_chooser_opened_event: Option<bool>If true, the Page.fileChooserOpened event will be emitted regardless of the state set by
Page.setInterceptFileChooserDialog command (default: false).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Enable
impl<'de> Deserialize<'de> for Enable
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 Method for Enable
impl Method for Enable
const NAME: &'static str = "Page.enable"
type ReturnObject = EnableReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl Freeze for Enable
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnsafeUnpin for Enable
impl UnwindSafe for Enable
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