pub struct DownloadWillBeginEventParams {
pub frame_id: FrameId,
pub guid: String,
pub url: String,
pub suggested_filename: String,
}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 DownloadWillBeginEventParams
impl Clone for DownloadWillBeginEventParams
Source§fn clone(&self) -> DownloadWillBeginEventParams
fn clone(&self) -> DownloadWillBeginEventParams
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 DownloadWillBeginEventParams
impl Debug for DownloadWillBeginEventParams
Source§impl<'de> Deserialize<'de> for DownloadWillBeginEventParams
impl<'de> Deserialize<'de> for DownloadWillBeginEventParams
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 DownloadWillBeginEventParams
impl PartialEq for DownloadWillBeginEventParams
Source§fn eq(&self, other: &DownloadWillBeginEventParams) -> bool
fn eq(&self, other: &DownloadWillBeginEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DownloadWillBeginEventParams
Auto Trait Implementations§
impl Freeze for DownloadWillBeginEventParams
impl RefUnwindSafe for DownloadWillBeginEventParams
impl Send for DownloadWillBeginEventParams
impl Sync for DownloadWillBeginEventParams
impl Unpin for DownloadWillBeginEventParams
impl UnsafeUnpin for DownloadWillBeginEventParams
impl UnwindSafe for DownloadWillBeginEventParams
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