pub struct FileChooserOpenedEvent { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime only.Expand description
Emitted only when page.interceptFileChooser is enabled.
Implementations§
Source§impl FileChooserOpenedEvent
impl FileChooserOpenedEvent
pub fn new( frame_id: FrameId, backend_node_id: BackendNodeId, mode: FileChooserOpenedEventMode, ) -> Self
Sourcepub fn frame_id(&self) -> &FrameId
Available on crate feature experimental only.
pub fn frame_id(&self) -> &FrameId
experimental only.Id of the frame containing input node.
Sourcepub fn backend_node_id(&self) -> &BackendNodeId
Available on crate feature experimental only.
pub fn backend_node_id(&self) -> &BackendNodeId
experimental only.Input node id.
Sourcepub fn mode(&self) -> &FileChooserOpenedEventMode
pub fn mode(&self) -> &FileChooserOpenedEventMode
Input mode.
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