pub struct SampleReport {
pub offset_s: f64,
pub delay_s: f64,
pub stratum: u8,
pub root_delay_s: f64,
pub root_dispersion_s: f64,
}Expand description
One measured exchange, as reported by rtimed query.
Fields§
§offset_s: f64Seconds to ADD to the local clock.
delay_s: f64Round-trip delay, seconds.
stratum: u8Server stratum.
root_delay_s: f64Server-reported root delay + dispersion, seconds.
root_dispersion_s: f64Trait Implementations§
Source§impl Clone for SampleReport
impl Clone for SampleReport
Source§fn clone(&self) -> SampleReport
fn clone(&self) -> SampleReport
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 SampleReport
Source§impl Debug for SampleReport
impl Debug for SampleReport
Source§impl<'de> Deserialize<'de> for SampleReport
impl<'de> Deserialize<'de> for SampleReport
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 SampleReport
impl PartialEq for SampleReport
Source§impl Serialize for SampleReport
impl Serialize for SampleReport
impl StructuralPartialEq for SampleReport
Auto Trait Implementations§
impl Freeze for SampleReport
impl RefUnwindSafe for SampleReport
impl Send for SampleReport
impl Sync for SampleReport
impl Unpin for SampleReport
impl UnsafeUnpin for SampleReport
impl UnwindSafe for SampleReport
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