Struct uefi::Time
[−]
[src]
#[repr(C)]pub struct Time { pub year: u16, pub month: u8, pub day: u8, pub hour: u8, pub minute: u8, pub second: u8, pub nanosecond: u32, pub timezone: i16, // some fields omitted }
UEFI Time structure.
Fields
year: u16
Year [1900 - 9999]
month: u8
Month [1 - 12]
day: u8
Day [1 - 31]
hour: u8
Hour [0 - 23]
minute: u8
Minute [0 - 59]
second: u8
Second [0 - 59]
nanosecond: u32
Nanosecond [0 - 999,999,999]
timezone: i16
Timezone [-1440 - 1440] or 2047 for "unspecified timezone"
Trait Implementations
impl Copy for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more