pub struct TailSample {
pub value: f64,
pub ts_unix_ms: u128,
}Expand description
A single latency sample with timestamp.
Fields§
§value: f64Latency value (e.g., milliseconds).
ts_unix_ms: u128Timestamp when the sample was recorded.
Trait Implementations§
Source§impl Clone for TailSample
impl Clone for TailSample
Source§fn clone(&self) -> TailSample
fn clone(&self) -> TailSample
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 TailSample
Source§impl Debug for TailSample
impl Debug for TailSample
Source§impl PartialEq for TailSample
impl PartialEq for TailSample
Source§fn eq(&self, other: &TailSample) -> bool
fn eq(&self, other: &TailSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TailSample
Auto Trait Implementations§
impl Freeze for TailSample
impl RefUnwindSafe for TailSample
impl Send for TailSample
impl Sync for TailSample
impl Unpin for TailSample
impl UnsafeUnpin for TailSample
impl UnwindSafe for TailSample
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