Struct chrome_remote_interface_model::page::DownloadWillBeginEventBuilder[][src]

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

Implementations

impl DownloadWillBeginEventBuilder[src]

pub fn frame_id(&mut self, v: FrameId) -> &mut Self[src]

Id of the frame that caused download to begin.

pub fn guid(&mut self, v: String) -> &mut Self[src]

Global unique identifier of the download.

pub fn url(&mut self, v: String) -> &mut Self[src]

URL of the resource being downloaded.

pub fn suggested_filename(&mut self, v: String) -> &mut Self[src]

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

pub fn build(&mut self) -> Result<DownloadWillBeginEvent, &'static str>[src]

Trait Implementations

impl Clone for DownloadWillBeginEventBuilder[src]

impl Debug for DownloadWillBeginEventBuilder[src]

impl Default for DownloadWillBeginEventBuilder[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> 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.