pub struct ScannedFile {
pub absolute: PathBuf,
pub relative: String,
pub bytes: u64,
pub content_hash: Option<String>,
pub content_fingerprint: Option<String>,
pub version: FileVersion,
pub binary_checked: bool,
}Fields§
§absolute: PathBuf§relative: String§bytes: u64§content_hash: Option<String>§content_fingerprint: Option<String>Whole-content validation fingerprint used only for strict cache reuse.
version: FileVersion§binary_checked: boolTrait Implementations§
Source§impl Clone for ScannedFile
impl Clone for ScannedFile
Source§fn clone(&self) -> ScannedFile
fn clone(&self) -> ScannedFile
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 moreSource§impl Debug for ScannedFile
impl Debug for ScannedFile
impl Eq for ScannedFile
Source§impl From<&ScannedFile> for PortableScannedFile
impl From<&ScannedFile> for PortableScannedFile
Source§fn from(file: &ScannedFile) -> Self
fn from(file: &ScannedFile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScannedFile
impl PartialEq for ScannedFile
impl StructuralPartialEq for ScannedFile
Auto Trait Implementations§
impl Freeze for ScannedFile
impl RefUnwindSafe for ScannedFile
impl Send for ScannedFile
impl Sync for ScannedFile
impl Unpin for ScannedFile
impl UnsafeUnpin for ScannedFile
impl UnwindSafe for ScannedFile
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