pub struct MacFileDates {
pub created: u32,
pub modified: u32,
}Expand description
Mac file dates as raw seconds since the classic Mac epoch (1904-01-01) —
the exact encoding MacBinary stores in its header and HFS/HFS+ record on
disk. A field of 0 means “unknown”: MacBinary writes a zero date and
AppleDouble omits the File Dates Info entry, so callers with no dates get
byte-identical output to the pre-dates behavior.
Fields§
§created: u32Creation time, seconds since 1904-01-01.
modified: u32Modification time, seconds since 1904-01-01.
Trait Implementations§
Source§impl Clone for MacFileDates
impl Clone for MacFileDates
impl Copy for MacFileDates
Source§impl Debug for MacFileDates
impl Debug for MacFileDates
Auto Trait Implementations§
impl Freeze for MacFileDates
impl RefUnwindSafe for MacFileDates
impl Send for MacFileDates
impl Sync for MacFileDates
impl Unpin for MacFileDates
impl UnsafeUnpin for MacFileDates
impl UnwindSafe for MacFileDates
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