pub enum ExtraField {
Ntfs {
mtime: u64,
atime: u64,
ctime: u64,
},
UnixExtendedTimestamp {
mod_time: Option<i32>,
ac_time: Option<i32>,
cr_time: Option<i32>,
},
UnixAttrs {
uid: u32,
gid: u32,
},
}
Expand description
Extra data that can be associated with a file or directory.
This library only implements the filesystem properties in NTFS and UNIX format.
Variants§
Ntfs
NTFS file properties.
Fields
UnixExtendedTimestamp
Info-Zip extended unix timestamp. Each part is optional by definition, but will be
populated by ExtraFields::new_from_fs
.
Fields
UnixAttrs
UNIX file/directory attributes defined by Info-Zip.
Trait Implementations§
Source§impl Clone for ExtraField
impl Clone for ExtraField
Source§fn clone(&self) -> ExtraField
fn clone(&self) -> ExtraField
Returns a copy 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 moreSource§impl Debug for ExtraField
impl Debug for ExtraField
Source§impl PartialEq for ExtraField
impl PartialEq for ExtraField
impl Copy for ExtraField
impl Eq for ExtraField
impl StructuralPartialEq for ExtraField
Auto Trait Implementations§
impl Freeze for ExtraField
impl RefUnwindSafe for ExtraField
impl Send for ExtraField
impl Sync for ExtraField
impl Unpin for ExtraField
impl UnwindSafe for ExtraField
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