pub struct TelemetrySnapshot {
pub timestamp_secs: u64,
pub uptime_secs: u64,
pub since_last_snapshot_secs: u64,
pub operation_stats: HashMap<String, OperationStats>,
pub counters: HashMap<String, u64>,
pub gauges: HashMap<String, f64>,
pub metrics: MetricsSnapshot,
}Expand description
Point-in-time telemetry snapshot.
Fields§
§timestamp_secs: u64§uptime_secs: u64§since_last_snapshot_secs: u64§operation_stats: HashMap<String, OperationStats>§counters: HashMap<String, u64>§gauges: HashMap<String, f64>§metrics: MetricsSnapshotImplementations§
Trait Implementations§
Source§impl Clone for TelemetrySnapshot
impl Clone for TelemetrySnapshot
Source§fn clone(&self) -> TelemetrySnapshot
fn clone(&self) -> TelemetrySnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TelemetrySnapshot
impl RefUnwindSafe for TelemetrySnapshot
impl Send for TelemetrySnapshot
impl Sync for TelemetrySnapshot
impl Unpin for TelemetrySnapshot
impl UnwindSafe for TelemetrySnapshot
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