pub struct RefClockSample {
pub offset: f64,
pub delay: f64,
pub dispersion: f64,
pub time: NtpTs64,
pub leap: LeapIndicator,
}Expand description
A reference clock sample.
Fields§
§offset: f64§delay: f64§dispersion: f64§time: NtpTs64§leap: LeapIndicatorTrait Implementations§
Source§impl Clone for RefClockSample
impl Clone for RefClockSample
Source§fn clone(&self) -> RefClockSample
fn clone(&self) -> RefClockSample
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 RefClockSample
Auto Trait Implementations§
impl Freeze for RefClockSample
impl RefUnwindSafe for RefClockSample
impl Send for RefClockSample
impl Sync for RefClockSample
impl Unpin for RefClockSample
impl UnsafeUnpin for RefClockSample
impl UnwindSafe for RefClockSample
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