pub struct TimeOffset {
pub device: Option<String>,
pub real: Option<DateTime<Utc>>,
pub clock: Option<DateTime<Utc>>,
}Expand description
Fields§
§device: Option<String>Device path that provided this data
real: Option<DateTime<Utc>>GPS time
clock: Option<DateTime<Utc>>System clock time
Trait Implementations§
Source§impl Clone for TimeOffset
impl Clone for TimeOffset
Source§fn clone(&self) -> TimeOffset
fn clone(&self) -> TimeOffset
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 TimeOffset
impl Debug for TimeOffset
Source§impl<'de> Deserialize<'de> for TimeOffset
impl<'de> Deserialize<'de> for TimeOffset
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimeOffset
impl PartialEq for TimeOffset
impl StructuralPartialEq for TimeOffset
Auto Trait Implementations§
impl Freeze for TimeOffset
impl RefUnwindSafe for TimeOffset
impl Send for TimeOffset
impl Sync for TimeOffset
impl Unpin for TimeOffset
impl UnwindSafe for TimeOffset
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