pub struct InFlightSnapshot {
pub gauge: String,
pub at_unix_ms: u64,
pub at_run_us: Option<u64>,
pub count: u64,
}Expand description
Point-in-time in-flight gauge reading.
Snapshot timestamps are Unix-ms wall-clock anchors for correlation, readability, and coarse temporal grouping; runtime/in-flight attribution based on those anchors can be approximate.
Fields§
§gauge: StringGauge name.
at_unix_ms: u64Timestamp (milliseconds since epoch UTC).
at_run_us: Option<u64>Snapshot offset from run start, measured with a monotonic clock.
count: u64Number of in-flight units.
Trait Implementations§
Source§impl Clone for InFlightSnapshot
impl Clone for InFlightSnapshot
Source§fn clone(&self) -> InFlightSnapshot
fn clone(&self) -> InFlightSnapshot
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 InFlightSnapshot
impl Debug for InFlightSnapshot
Source§impl<'de> Deserialize<'de> for InFlightSnapshot
impl<'de> Deserialize<'de> for InFlightSnapshot
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 Eq for InFlightSnapshot
Source§impl PartialEq for InFlightSnapshot
impl PartialEq for InFlightSnapshot
Source§fn eq(&self, other: &InFlightSnapshot) -> bool
fn eq(&self, other: &InFlightSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InFlightSnapshot
impl Serialize for InFlightSnapshot
impl StructuralPartialEq for InFlightSnapshot
Auto Trait Implementations§
impl Freeze for InFlightSnapshot
impl RefUnwindSafe for InFlightSnapshot
impl Send for InFlightSnapshot
impl Sync for InFlightSnapshot
impl Unpin for InFlightSnapshot
impl UnsafeUnpin for InFlightSnapshot
impl UnwindSafe for InFlightSnapshot
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