pub struct DownloadWillBeginEvent {
pub frame_id: String,
pub guid: String,
pub url: String,
pub suggested_filename: String,
}Expand description
Event: Page.downloadWillBegin
Fired when page is about to start a download.
Fields§
§frame_id: StringId of the frame that caused download to begin.
guid: StringGlobal unique identifier of the download.
url: StringURL of the resource being downloaded.
suggested_filename: StringSuggested 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