Struct chrome_remote_interface_model::page::DownloadWillBeginEvent[][src]

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

Fired when page is about to start a download.

Implementations

impl DownloadWillBeginEvent[src]

pub fn builder() -> DownloadWillBeginEventBuilder[src]

pub fn frame_id(&self) -> &FrameId[src]

Id of the frame that caused download to begin.

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

Global unique identifier of the download.

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

URL of the resource being downloaded.

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

Suggested file name of the resource (the actual name of the file saved on disk may differ).

Trait Implementations

impl Clone for DownloadWillBeginEvent[src]

impl Debug for DownloadWillBeginEvent[src]

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

impl Serialize for DownloadWillBeginEvent[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.