#[non_exhaustive]pub struct FileDownload {
pub path: PathBuf,
pub download: StreamedDownload,
}Expand description
A streamed download that was committed to a file.
Experimental.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufThe destination path, as given.
download: StreamedDownloadDetails of the download.
Trait Implementations§
Source§impl Clone for FileDownload
impl Clone for FileDownload
Source§impl Debug for FileDownload
impl Debug for FileDownload
impl Eq for FileDownload
Source§impl PartialEq for FileDownload
impl PartialEq for FileDownload
impl StructuralPartialEq for FileDownload
Auto Trait Implementations§
impl Forget for FileDownload
impl Freeze for FileDownload
impl Move for FileDownload
impl RefUnwindSafe for FileDownload
impl Send for FileDownload
impl Sync for FileDownload
impl Unpin for FileDownload
impl UnsafeUnpin for FileDownload
impl UnwindSafe for FileDownload
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