pub struct FileChooserOpenedEvent {
pub frame_id: FrameId,
pub mode: FileChooserOpenedMode,
pub backend_node_id: Option<BackendNodeId>,
}Expand description
Emitted only when page.interceptFileChooser is enabled.
Payload of the Page.fileChooserOpened event.
Fields§
§frame_id: FrameIdId of the frame containing input node.
Experimental: may change without notice.
mode: FileChooserOpenedModeInput mode.
backend_node_id: Option<BackendNodeId>Input node id. Only present for file choosers opened via an \<input type="file"\> element.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for FileChooserOpenedEvent
impl Clone for FileChooserOpenedEvent
Source§impl Debug for FileChooserOpenedEvent
impl Debug for FileChooserOpenedEvent
Source§impl<'de> Deserialize<'de> for FileChooserOpenedEvent
impl<'de> Deserialize<'de> for FileChooserOpenedEvent
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 Event for FileChooserOpenedEvent
impl Event for FileChooserOpenedEvent
Source§impl PartialEq for FileChooserOpenedEvent
impl PartialEq for FileChooserOpenedEvent
Source§impl Serialize for FileChooserOpenedEvent
impl Serialize for FileChooserOpenedEvent
impl StructuralPartialEq for FileChooserOpenedEvent
Auto Trait Implementations§
impl Forget for FileChooserOpenedEvent
impl Freeze for FileChooserOpenedEvent
impl RefUnwindSafe for FileChooserOpenedEvent
impl Send for FileChooserOpenedEvent
impl Sync for FileChooserOpenedEvent
impl Unpin for FileChooserOpenedEvent
impl UnsafeUnpin for FileChooserOpenedEvent
impl UnwindSafe for FileChooserOpenedEvent
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