pub struct FileAttributes {
pub crc32: Option<u32>,
pub filetime: Option<u64>,
pub md5: Option<[u8; 16]>,
pub is_patch: Option<bool>,
}Expand description
File attributes for a single file in the archive
Fields§
§crc32: Option<u32>CRC32 checksum of the uncompressed file data
filetime: Option<u64>Windows FILETIME timestamp (100-nanosecond intervals since 1601-01-01)
md5: Option<[u8; 16]>MD5 hash of the uncompressed file data
is_patch: Option<bool>Whether this file is a patch file
Implementations§
Trait Implementations§
Source§impl Clone for FileAttributes
impl Clone for FileAttributes
Source§impl Debug for FileAttributes
impl Debug for FileAttributes
Source§impl Default for FileAttributes
impl Default for FileAttributes
impl Eq for FileAttributes
Source§impl PartialEq for FileAttributes
impl PartialEq for FileAttributes
impl StructuralPartialEq for FileAttributes
Auto Trait Implementations§
impl Freeze for FileAttributes
impl RefUnwindSafe for FileAttributes
impl Send for FileAttributes
impl Sync for FileAttributes
impl Unpin for FileAttributes
impl UnsafeUnpin for FileAttributes
impl UnwindSafe for FileAttributes
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more