pub struct WindowOpenEvent {
pub url: String,
pub window_name: String,
pub window_features: Vec<String>,
pub user_gesture: bool,
}Expand description
Event: Page.windowOpen
Fields§
§url: StringThe URL for the new window.
window_name: StringWindow name.
window_features: Vec<String>An array of enabled window features.
user_gesture: boolWhether or not it was triggered by user gesture.
Trait Implementations§
Source§impl Clone for WindowOpenEvent
impl Clone for WindowOpenEvent
Source§fn clone(&self) -> WindowOpenEvent
fn clone(&self) -> WindowOpenEvent
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 WindowOpenEvent
impl Debug for WindowOpenEvent
Source§impl<'de> Deserialize<'de> for WindowOpenEvent
impl<'de> Deserialize<'de> for WindowOpenEvent
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 WindowOpenEvent
impl RefUnwindSafe for WindowOpenEvent
impl Send for WindowOpenEvent
impl Sync for WindowOpenEvent
impl Unpin for WindowOpenEvent
impl UnwindSafe for WindowOpenEvent
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