Struct rc_zip::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: u16
§date: u16
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<MsdosTimestamp> for MsdosTimestamp
impl PartialEq<MsdosTimestamp> 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 ==
.