pub struct TimeSyncMessage {
pub local_timestamp: u64,
pub since_epoch: u64,
}Expand description
A time synchronization message for coordinating clocks between systems.
This message contains both local time and absolute time information, allowing downstream systems to correlate local timestamps with real-world time.
Fields§
§local_timestamp: u64Local timestamp in system-specific units
since_epoch: u64Time since Unix epoch in nanoseconds
Trait Implementations§
Source§impl Clone for TimeSyncMessage
impl Clone for TimeSyncMessage
Source§fn clone(&self) -> TimeSyncMessage
fn clone(&self) -> TimeSyncMessage
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 TimeSyncMessage
impl Debug for TimeSyncMessage
Source§impl<'de> Deserialize<'de> for TimeSyncMessage
impl<'de> Deserialize<'de> for TimeSyncMessage
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
Auto Trait Implementations§
impl Freeze for TimeSyncMessage
impl RefUnwindSafe for TimeSyncMessage
impl Send for TimeSyncMessage
impl Sync for TimeSyncMessage
impl Unpin for TimeSyncMessage
impl UnwindSafe for TimeSyncMessage
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