pub struct UtcHistRow {
pub yr: i32,
pub mo: u8,
pub day: u8,
pub jd: Real,
pub mjd_ref: Real,
pub offset: Real,
pub drift: Real,
}Expand description
Holds info about a pre-1972 historical UTC offset interval. Used by UTC_HIST_TABLE.
Fields§
§yr: i32Year of the effective UTC date
mo: u8Month (1-12) of the effective UTC date
day: u8Day of the effective UTC date
jd: RealJulian Date (JD) at 0h UT on the effective date (start of interval)
mjd_ref: RealReference MJD used in the linear drift formula: offset + (MJD - mjd_ref) * drift
offset: RealConstant offset (seconds) in the TAI−UTC formula
drift: RealDrift rate (seconds per day) — this is the historical frequency offset effect
Trait Implementations§
Source§impl Clone for UtcHistRow
impl Clone for UtcHistRow
Source§fn clone(&self) -> UtcHistRow
fn clone(&self) -> UtcHistRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UtcHistRow
Source§impl Debug for UtcHistRow
impl Debug for UtcHistRow
Source§impl PartialEq for UtcHistRow
impl PartialEq for UtcHistRow
Source§fn eq(&self, other: &UtcHistRow) -> bool
fn eq(&self, other: &UtcHistRow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UtcHistRow
Auto Trait Implementations§
impl Freeze for UtcHistRow
impl RefUnwindSafe for UtcHistRow
impl Send for UtcHistRow
impl Sync for UtcHistRow
impl Unpin for UtcHistRow
impl UnsafeUnpin for UtcHistRow
impl UnwindSafe for UtcHistRow
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