pub struct TimeDataProvenance { /* private fields */ }Implementations§
Source§impl TimeDataProvenance
impl TimeDataProvenance
pub fn new( fetched_utc: impl Into<String>, utc_tai_sha256: impl Into<String>, delta_t_observed_sha256: impl Into<String>, delta_t_predictions_sha256: impl Into<String>, eop_finals_sha256: impl Into<String>, ) -> Self
pub fn fetched_utc(&self) -> &str
pub fn fetched_at(&self) -> Option<DateTime<Utc>>
pub fn utc_tai_sha256(&self) -> &str
pub fn delta_t_observed_sha256(&self) -> &str
pub fn delta_t_predictions_sha256(&self) -> &str
pub fn eop_finals_sha256(&self) -> &str
Trait Implementations§
Source§impl Clone for TimeDataProvenance
impl Clone for TimeDataProvenance
Source§fn clone(&self) -> TimeDataProvenance
fn clone(&self) -> TimeDataProvenance
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 moreSource§impl Debug for TimeDataProvenance
impl Debug for TimeDataProvenance
Source§impl PartialEq for TimeDataProvenance
impl PartialEq for TimeDataProvenance
Source§fn eq(&self, other: &TimeDataProvenance) -> bool
fn eq(&self, other: &TimeDataProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TimeDataProvenance
impl StructuralPartialEq for TimeDataProvenance
Auto Trait Implementations§
impl Freeze for TimeDataProvenance
impl RefUnwindSafe for TimeDataProvenance
impl Send for TimeDataProvenance
impl Sync for TimeDataProvenance
impl Unpin for TimeDataProvenance
impl UnsafeUnpin for TimeDataProvenance
impl UnwindSafe for TimeDataProvenance
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