pub struct DownloadWillBeginEventBuilder { /* private fields */ }
Available on crate features
Browser
and experimental
only.Implementations§
Source§impl DownloadWillBeginEventBuilder
impl DownloadWillBeginEventBuilder
Sourcepub fn frame_id(&mut self, v: FrameId) -> &mut Self
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
Id of the frame that caused the download to begin.
Sourcepub fn suggested_filename(&mut self, v: String) -> &mut Self
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>
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 · 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 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