pub struct Download {
pub url: Url,
pub size: u64,
pub checksum: Option<Checksum>,
pub name: String,
}Expand description
A simple URL-bearing work item for callers that already know where each file
lives. Use with drive_downloads when no per-item resolver is needed.
Fields§
§url: Url§size: u64§checksum: Option<Checksum>§name: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Download
impl RefUnwindSafe for Download
impl Send for Download
impl Sync for Download
impl Unpin for Download
impl UnsafeUnpin for Download
impl UnwindSafe for Download
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