pub struct DownloadStart {
pub url: String,
pub suggested_path: PathBuf,
}Expand description
A download the page started, passed to WebView::on_download_started.
Observational: the destination path is the engine’s default and cannot be redirected from the callback (the decision is asynchronous). Use it to drive progress UI / toasts.
Fields§
§url: StringSource URL of the download.
suggested_path: PathBufThe engine’s chosen destination path.
Trait Implementations§
Source§impl Clone for DownloadStart
impl Clone for DownloadStart
Auto Trait Implementations§
impl Freeze for DownloadStart
impl RefUnwindSafe for DownloadStart
impl Send for DownloadStart
impl Sync for DownloadStart
impl Unpin for DownloadStart
impl UnsafeUnpin for DownloadStart
impl UnwindSafe for DownloadStart
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