pub struct QueryReport {Show 13 fields
pub server: String,
pub address: String,
pub sent: u32,
pub received: u32,
pub samples: Vec<SampleReport>,
pub best_offset_s: Option<f64>,
pub best_delay_s: Option<f64>,
pub regress_offset_s: Option<f64>,
pub regress_freq_ppm: Option<f64>,
pub regress_sd_s: Option<f64>,
pub reference_id: String,
pub leap: String,
pub nts: Option<NtsReport>,
}Expand description
The result of a one-shot rtimed query.
Fields§
§server: String§address: String§sent: u32Exchanges attempted and completed.
received: u32§samples: Vec<SampleReport>§best_offset_s: Option<f64>Minimum-delay sample’s offset — the headline number.
best_delay_s: Option<f64>§regress_offset_s: Option<f64>Regression view when enough samples exist.
regress_freq_ppm: Option<f64>§regress_sd_s: Option<f64>§reference_id: StringReference ID of the server (textual for stratum 1, hex otherwise).
leap: String§nts: Option<NtsReport>Present only when the query ran under NTS.
Trait Implementations§
Source§impl Clone for QueryReport
impl Clone for QueryReport
Source§fn clone(&self) -> QueryReport
fn clone(&self) -> QueryReport
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 QueryReport
impl Debug for QueryReport
Source§impl<'de> Deserialize<'de> for QueryReport
impl<'de> Deserialize<'de> for QueryReport
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 QueryReport
impl PartialEq for QueryReport
Source§impl Serialize for QueryReport
impl Serialize for QueryReport
impl StructuralPartialEq for QueryReport
Auto Trait Implementations§
impl Freeze for QueryReport
impl RefUnwindSafe for QueryReport
impl Send for QueryReport
impl Sync for QueryReport
impl Unpin for QueryReport
impl UnsafeUnpin for QueryReport
impl UnwindSafe for QueryReport
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