Struct rc_zip::parse::MsdosTimestamp
source · pub struct MsdosTimestamp {
pub time: u16,
pub date: u16,
}Expand description
A timestamp in MS-DOS format
Represents dates from year 1980 to 2180, with 2 second precision.
Fields§
§time: u16Time in 2-second intervals
date: u16Date in MS-DOS format, cf. https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
Implementations§
Trait Implementations§
source§impl Clone for MsdosTimestamp
impl Clone for MsdosTimestamp
source§fn clone(&self) -> MsdosTimestamp
fn clone(&self) -> MsdosTimestamp
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 MsdosTimestamp
impl Debug for MsdosTimestamp
source§impl PartialEq for MsdosTimestamp
impl PartialEq for MsdosTimestamp
source§fn eq(&self, other: &MsdosTimestamp) -> bool
fn eq(&self, other: &MsdosTimestamp) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MsdosTimestamp
impl Eq for MsdosTimestamp
impl StructuralPartialEq for MsdosTimestamp
Auto Trait Implementations§
impl RefUnwindSafe for MsdosTimestamp
impl Send for MsdosTimestamp
impl Sync for MsdosTimestamp
impl Unpin for MsdosTimestamp
impl UnwindSafe for MsdosTimestamp
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