Struct chrome_remote_interface_model::page::JavascriptDialogOpeningEventBuilder [−][src]
This is supported on crate features
Page
and Debugger
and DOM
and IO
and Network
and Runtime
only.Implementations
impl JavascriptDialogOpeningEventBuilder
[src]
pub fn url(&mut self, v: String) -> &mut Self
[src]
Frame url.
pub fn message(&mut self, v: String) -> &mut Self
[src]
Message that will be displayed by the dialog.
pub fn type(&mut self, v: DialogType) -> &mut Self
[src]
Dialog type.
pub fn has_browser_handler(&mut self, v: bool) -> &mut Self
[src]
True iff browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
pub fn default_prompt(&mut self, v: String) -> &mut Self
[src]
Default dialog prompt.
pub fn build(&mut self) -> Result<JavascriptDialogOpeningEvent, &'static str>
[src]
Trait Implementations
impl Clone for JavascriptDialogOpeningEventBuilder
[src]
fn clone(&self) -> JavascriptDialogOpeningEventBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for JavascriptDialogOpeningEventBuilder
[src]
impl Default for JavascriptDialogOpeningEventBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for JavascriptDialogOpeningEventBuilder
[src]
impl Send for JavascriptDialogOpeningEventBuilder
[src]
impl Sync for JavascriptDialogOpeningEventBuilder
[src]
impl Unpin for JavascriptDialogOpeningEventBuilder
[src]
impl UnwindSafe for JavascriptDialogOpeningEventBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,