pub struct DownloadWillBeginEventBuilder { /* private fields */ }๐Deprecated
Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Implementationsยง
Sourceยงimpl DownloadWillBeginEventBuilder
impl DownloadWillBeginEventBuilder
Sourcepub fn frame_id(&mut self, v: FrameId) -> &mut Self
๐Deprecated
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
Id of the frame that caused download to begin.
Sourcepub fn guid(&mut self, v: String) -> &mut Self
๐Deprecated
pub fn guid(&mut self, v: String) -> &mut Self
Global unique identifier of the download.
Sourcepub fn url(&mut self, v: String) -> &mut Self
๐Deprecated
pub fn url(&mut self, v: String) -> &mut Self
URL of the resource being downloaded.
Sourcepub fn suggested_filename(&mut self, v: String) -> &mut Self
๐Deprecated
pub fn suggested_filename(&mut self, v: String) -> &mut Self
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>
๐Deprecated
Trait Implementationsยง
Sourceยงimpl Clone for DownloadWillBeginEventBuilder
impl Clone for DownloadWillBeginEventBuilder
Sourceยงfn clone(&self) -> DownloadWillBeginEventBuilder
fn clone(&self) -> DownloadWillBeginEventBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementationsยง
impl Freeze for DownloadWillBeginEventBuilder
impl RefUnwindSafe for DownloadWillBeginEventBuilder
impl Send for DownloadWillBeginEventBuilder
impl Sync for DownloadWillBeginEventBuilder
impl Unpin for DownloadWillBeginEventBuilder
impl UnsafeUnpin for DownloadWillBeginEventBuilder
impl UnwindSafe for DownloadWillBeginEventBuilder
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