pub struct FileChooserOpenedEvent {
pub frame_id: String,
pub mode: FileChooserMode,
pub backend_node_id: Option<i32>,
}Expand description
Event: Page.fileChooserOpened
Emitted only when page.setInterceptFileChooserDialog is enabled.
Fields§
§frame_id: StringId of the frame containing input node.
mode: FileChooserModeInput mode.
backend_node_id: Option<i32>Input node id. Only present for file choosers opened via an input element with webkitdirectory attribute (directory picker).
Trait Implementations§
Source§impl Clone for FileChooserOpenedEvent
impl Clone for FileChooserOpenedEvent
Source§fn clone(&self) -> FileChooserOpenedEvent
fn clone(&self) -> FileChooserOpenedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Auto Trait Implementations§
impl Freeze for FileChooserOpenedEvent
impl RefUnwindSafe for FileChooserOpenedEvent
impl Send for FileChooserOpenedEvent
impl Sync for FileChooserOpenedEvent
impl Unpin 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