pub struct DownloadWillBeginEvent { /* private fields */ }👎Deprecated
Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.
Implementations§
Source§impl DownloadWillBeginEvent
impl DownloadWillBeginEvent
pub fn builder() -> DownloadWillBeginEventBuilder
👎Deprecated
Sourcepub fn frame_id(&self) -> &FrameId
👎Deprecated
pub fn frame_id(&self) -> &FrameId
Id of the frame that caused download to begin.
Sourcepub fn suggested_filename(&self) -> &str
👎Deprecated
pub fn suggested_filename(&self) -> &str
Suggested file name of the resource (the actual name of the file saved on disk may differ).
Trait Implementations§
Source§impl Clone for DownloadWillBeginEvent
impl Clone for DownloadWillBeginEvent
Source§fn clone(&self) -> DownloadWillBeginEvent
fn clone(&self) -> DownloadWillBeginEvent
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 moreSource§impl Debug for DownloadWillBeginEvent
impl Debug for DownloadWillBeginEvent
Source§impl<'de> Deserialize<'de> for DownloadWillBeginEvent
impl<'de> Deserialize<'de> for DownloadWillBeginEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DownloadWillBeginEvent
impl RefUnwindSafe for DownloadWillBeginEvent
impl Send for DownloadWillBeginEvent
impl Sync for DownloadWillBeginEvent
impl Unpin for DownloadWillBeginEvent
impl UnwindSafe for DownloadWillBeginEvent
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