#[repr(C)]pub struct glo_time_t {
pub nt: u16_,
pub n4: u8_,
pub h: u8_,
pub m: u8_,
pub s: f64,
}
Expand description
Structure representing a GLO epoch. Please refer to GLO ICD v5.1 2008 for details
Fields§
§nt: u16_
Day number within the four-year interval [1-1461]. Comes from the field NT in the GLO string 4.
n4: u8_
Four-year interval number starting from 1996 [1- ]. Comes from the field N4 in the GLO string 5.
h: u8_
< Hours [0-24]
m: u8_
< Minutes [0-59]
s: f64
< Seconds [0-60]
Trait Implementations§
Source§impl Clone for glo_time_t
impl Clone for glo_time_t
Source§fn clone(&self) -> glo_time_t
fn clone(&self) -> glo_time_t
Returns a duplicate 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 glo_time_t
impl Debug for glo_time_t
Source§impl PartialEq for glo_time_t
impl PartialEq for glo_time_t
Source§impl PartialOrd for glo_time_t
impl PartialOrd for glo_time_t
impl Copy for glo_time_t
impl StructuralPartialEq for glo_time_t
Auto Trait Implementations§
impl Freeze for glo_time_t
impl RefUnwindSafe for glo_time_t
impl Send for glo_time_t
impl Sync for glo_time_t
impl Unpin for glo_time_t
impl UnwindSafe for glo_time_t
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