Struct chrome_remote_interface_model::page::WindowOpenEvent[][src]

pub struct WindowOpenEvent { /* fields omitted */ }
This is supported on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Implementations

impl WindowOpenEvent[src]

pub fn builder() -> WindowOpenEventBuilder[src]

pub fn url(&self) -> &str[src]

The URL for the new window.

pub fn window_name(&self) -> &str[src]

Window name.

pub fn window_features(&self) -> &[String]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

An array of enabled window features.

pub fn user_gesture(&self) -> bool[src]

Whether or not it was triggered by user gesture.

Trait Implementations

impl Clone for WindowOpenEvent[src]

impl Debug for WindowOpenEvent[src]

impl<'de> Deserialize<'de> for WindowOpenEvent[src]

impl Serialize for WindowOpenEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.