pub struct FilePlan {
pub filename: String,
pub size: u64,
pub cached: bool,
}Expand description
Per-file entry within a DownloadPlan.
Fields§
§filename: StringFilename within the repository.
size: u64File size in bytes (0 if unknown).
cached: boolWhether the file is already cached locally.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilePlan
impl RefUnwindSafe for FilePlan
impl Send for FilePlan
impl Sync for FilePlan
impl Unpin for FilePlan
impl UnsafeUnpin for FilePlan
impl UnwindSafe for FilePlan
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