pub struct File {
path: PathBuf,
uid: usize,
gid: usize,
mode: String,
size: usize,
time: usize,
md5_digest: Option<Md5Checksum>,
sha256_digest: Sha256Checksum,
}
Expand description
A file type path statement in an mtree file.
The md5_digest is accepted for backwards compatibility reasons in v2 as well.
Fields§
§path: PathBuf
§uid: usize
§gid: usize
§mode: String
§size: usize
§time: usize
§md5_digest: Option<Md5Checksum>
§sha256_digest: Sha256Checksum
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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