pub struct Pps {
pub device: Option<String>,
pub real: Option<DateTime<Utc>>,
pub clock: Option<DateTime<Utc>>,
pub precision: Option<i32>,
pub q_err: Option<i32>,
}Expand description
Pulse-Per-Second (PPS) timing report
Reports precise timing information from PPS-capable GPS receivers.
Fields§
§device: Option<String>Device path that provided this data
real: Option<DateTime<Utc>>GPS time of PPS edge
clock: Option<DateTime<Utc>>System clock time of PPS edge
precision: Option<i32>Clock precision in nanoseconds
q_err: Option<i32>Quantization error of PPS signal
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pps
impl<'de> Deserialize<'de> for Pps
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
impl StructuralPartialEq for Pps
Auto Trait Implementations§
impl Freeze for Pps
impl RefUnwindSafe for Pps
impl Send for Pps
impl Sync for Pps
impl Unpin for Pps
impl UnwindSafe for Pps
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