pub struct FileInfo {
pub path: PathBuf,
pub size: Option<u64>,
pub timestamp: Option<u64>,
pub checksum: Option<FileCheckSum>,
}Expand description
Basic information stored for each source file. Only the path is required.
Fields§
§path: PathBufRecorded path to the source file
size: Option<u64>Size of the source file in bytes
timestamp: Option<u64>Last modified timestamp of the source file
checksum: Option<FileCheckSum>Checksum of the source file
Trait Implementations§
Source§impl Ord for FileInfo
impl Ord for FileInfo
Source§impl PartialOrd for FileInfo
impl PartialOrd for FileInfo
impl Eq for FileInfo
impl StructuralPartialEq for FileInfo
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.