pub struct WindowOpen {
pub method: WindowOpenMethod,
pub params: WindowOpenParams,
}Expand description
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc. windowOpen
Fields§
§method: WindowOpenMethod§params: WindowOpenParamsImplementations§
Source§impl WindowOpen
impl WindowOpen
pub const IDENTIFIER: &'static str = "Page.windowOpen"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WindowOpen
impl Clone for WindowOpen
Source§fn clone(&self) -> WindowOpen
fn clone(&self) -> WindowOpen
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 WindowOpen
impl Debug for WindowOpen
Source§impl<'de> Deserialize<'de> for WindowOpen
impl<'de> Deserialize<'de> for WindowOpen
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<WindowOpen> for BrowserProtocolEvents
impl From<WindowOpen> for BrowserProtocolEvents
Source§fn from(v: WindowOpen) -> Self
fn from(v: WindowOpen) -> Self
Converts to this type from the input type.
Source§impl From<WindowOpen> for Event
impl From<WindowOpen> for Event
Source§fn from(v: WindowOpen) -> Self
fn from(v: WindowOpen) -> Self
Converts to this type from the input type.
Source§impl From<WindowOpen> for PageEvents
impl From<WindowOpen> for PageEvents
Source§fn from(v: WindowOpen) -> Self
fn from(v: WindowOpen) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WindowOpen
impl PartialEq for WindowOpen
Source§impl Serialize for WindowOpen
impl Serialize for WindowOpen
Source§impl TryFrom<BrowserProtocolEvents> for WindowOpen
impl TryFrom<BrowserProtocolEvents> for WindowOpen
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, <WindowOpen as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WindowOpen as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WindowOpen
impl TryFrom<Event> for WindowOpen
Source§impl TryFrom<PageEvents> for WindowOpen
impl TryFrom<PageEvents> for WindowOpen
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, <WindowOpen as TryFrom<PageEvents>>::Error>
fn try_from( e: PageEvents, ) -> Result<Self, <WindowOpen as TryFrom<PageEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WindowOpen
Auto Trait Implementations§
impl Freeze for WindowOpen
impl RefUnwindSafe for WindowOpen
impl Send for WindowOpen
impl Sync for WindowOpen
impl Unpin for WindowOpen
impl UnsafeUnpin for WindowOpen
impl UnwindSafe for WindowOpen
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