pub struct JavascriptDialogOpeningEventParams {
pub url: String,
pub frame_id: FrameId,
pub message: String,
pub type: DialogType,
pub has_browser_handler: bool,
pub default_prompt: Option<String>,
}Fields§
§url: String§frame_id: FrameId§message: String§type: DialogType§has_browser_handler: bool§default_prompt: Option<String>Trait Implementations§
Source§impl Clone for JavascriptDialogOpeningEventParams
impl Clone for JavascriptDialogOpeningEventParams
Source§fn clone(&self) -> JavascriptDialogOpeningEventParams
fn clone(&self) -> JavascriptDialogOpeningEventParams
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<'de> Deserialize<'de> for JavascriptDialogOpeningEventParams
impl<'de> Deserialize<'de> for JavascriptDialogOpeningEventParams
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 PartialEq for JavascriptDialogOpeningEventParams
impl PartialEq for JavascriptDialogOpeningEventParams
Source§fn eq(&self, other: &JavascriptDialogOpeningEventParams) -> bool
fn eq(&self, other: &JavascriptDialogOpeningEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JavascriptDialogOpeningEventParams
Auto Trait Implementations§
impl Freeze for JavascriptDialogOpeningEventParams
impl RefUnwindSafe for JavascriptDialogOpeningEventParams
impl Send for JavascriptDialogOpeningEventParams
impl Sync for JavascriptDialogOpeningEventParams
impl Unpin for JavascriptDialogOpeningEventParams
impl UnwindSafe for JavascriptDialogOpeningEventParams
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