pub struct VerifiedFile {
pub path: PathBuf,
pub hash: u64,
}Expand description
A downloaded and hash-verified file.
Fields§
§path: PathBuf§hash: u64Trait Implementations§
Source§impl Clone for VerifiedFile
impl Clone for VerifiedFile
Source§fn clone(&self) -> VerifiedFile
fn clone(&self) -> VerifiedFile
Returns a duplicate of the value. Read more
1.0.0 · 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 VerifiedFile
impl RefUnwindSafe for VerifiedFile
impl Send for VerifiedFile
impl Sync for VerifiedFile
impl Unpin for VerifiedFile
impl UnsafeUnpin for VerifiedFile
impl UnwindSafe for VerifiedFile
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