pub struct DownloadOutcome {
pub path: PathBuf,
pub success: bool,
}Expand description
A finished (or failed) download, passed to WebView::on_download_finished.
Fields§
§path: PathBufWhere the file was written.
success: boolWhether the download completed successfully.
Trait Implementations§
Source§impl Clone for DownloadOutcome
impl Clone for DownloadOutcome
Source§fn clone(&self) -> DownloadOutcome
fn clone(&self) -> DownloadOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DownloadOutcome
impl RefUnwindSafe for DownloadOutcome
impl Send for DownloadOutcome
impl Sync for DownloadOutcome
impl Unpin for DownloadOutcome
impl UnsafeUnpin for DownloadOutcome
impl UnwindSafe for DownloadOutcome
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