pub struct JavascriptDialogClosed {
pub method: JavascriptDialogClosedMethod,
pub params: JavascriptDialogClosedParams,
}Expand description
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed. javascriptDialogClosed
Fields§
§method: JavascriptDialogClosedMethod§params: JavascriptDialogClosedParamsImplementations§
Source§impl JavascriptDialogClosed
impl JavascriptDialogClosed
pub const IDENTIFIER: &'static str = "Page.javascriptDialogClosed"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for JavascriptDialogClosed
impl Clone for JavascriptDialogClosed
Source§fn clone(&self) -> JavascriptDialogClosed
fn clone(&self) -> JavascriptDialogClosed
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 JavascriptDialogClosed
impl Debug for JavascriptDialogClosed
Source§impl<'de> Deserialize<'de> for JavascriptDialogClosed
impl<'de> Deserialize<'de> for JavascriptDialogClosed
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 From<JavascriptDialogClosed> for BrowserProtocolEvents
impl From<JavascriptDialogClosed> for BrowserProtocolEvents
Source§fn from(v: JavascriptDialogClosed) -> Self
fn from(v: JavascriptDialogClosed) -> Self
Converts to this type from the input type.
Source§impl From<JavascriptDialogClosed> for Event
impl From<JavascriptDialogClosed> for Event
Source§fn from(v: JavascriptDialogClosed) -> Self
fn from(v: JavascriptDialogClosed) -> Self
Converts to this type from the input type.
Source§impl From<JavascriptDialogClosed> for PageEvents
impl From<JavascriptDialogClosed> for PageEvents
Source§fn from(v: JavascriptDialogClosed) -> Self
fn from(v: JavascriptDialogClosed) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JavascriptDialogClosed
impl PartialEq for JavascriptDialogClosed
Source§impl Serialize for JavascriptDialogClosed
impl Serialize for JavascriptDialogClosed
Source§impl TryFrom<BrowserProtocolEvents> for JavascriptDialogClosed
impl TryFrom<BrowserProtocolEvents> for JavascriptDialogClosed
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <JavascriptDialogClosed as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <JavascriptDialogClosed as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for JavascriptDialogClosed
impl TryFrom<Event> for JavascriptDialogClosed
Source§impl TryFrom<PageEvents> for JavascriptDialogClosed
impl TryFrom<PageEvents> for JavascriptDialogClosed
Source§type Error = PageEvents
type Error = PageEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageEvents,
) -> Result<Self, <JavascriptDialogClosed as TryFrom<PageEvents>>::Error>
fn try_from( e: PageEvents, ) -> Result<Self, <JavascriptDialogClosed as TryFrom<PageEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for JavascriptDialogClosed
Auto Trait Implementations§
impl Freeze for JavascriptDialogClosed
impl RefUnwindSafe for JavascriptDialogClosed
impl Send for JavascriptDialogClosed
impl Sync for JavascriptDialogClosed
impl Unpin for JavascriptDialogClosed
impl UnsafeUnpin for JavascriptDialogClosed
impl UnwindSafe for JavascriptDialogClosed
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