pub struct DownloadWillBeginParams {
pub frame_id: FrameId,
pub guid: String,
pub url: String,
pub suggested_filename: String,
}Expand description
Fired when page is about to start a download. downloadWillBegin
Fields§
§frame_id: FrameIdId of the frame that caused the 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 DownloadWillBeginParams
impl Clone for DownloadWillBeginParams
Source§fn clone(&self) -> DownloadWillBeginParams
fn clone(&self) -> DownloadWillBeginParams
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 DownloadWillBeginParams
impl Debug for DownloadWillBeginParams
Source§impl<'de> Deserialize<'de> for DownloadWillBeginParams
impl<'de> Deserialize<'de> for DownloadWillBeginParams
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
Source§impl PartialEq for DownloadWillBeginParams
impl PartialEq for DownloadWillBeginParams
Source§impl Serialize for DownloadWillBeginParams
impl Serialize for DownloadWillBeginParams
impl StructuralPartialEq for DownloadWillBeginParams
Auto Trait Implementations§
impl Freeze for DownloadWillBeginParams
impl RefUnwindSafe for DownloadWillBeginParams
impl Send for DownloadWillBeginParams
impl Sync for DownloadWillBeginParams
impl Unpin for DownloadWillBeginParams
impl UnsafeUnpin for DownloadWillBeginParams
impl UnwindSafe for DownloadWillBeginParams
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