pub struct TelemetryMetricDelta {
pub domain: String,
pub name: String,
pub unit: String,
pub source: String,
pub start_value: f64,
pub end_value: f64,
pub delta_value: f64,
}Expand description
Delta for a metric observed in both start and end snapshots.
Fields§
§domain: String§name: String§unit: String§source: String§start_value: f64§end_value: f64§delta_value: f64Trait Implementations§
Source§impl Clone for TelemetryMetricDelta
impl Clone for TelemetryMetricDelta
Source§fn clone(&self) -> TelemetryMetricDelta
fn clone(&self) -> TelemetryMetricDelta
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 moreSource§impl Debug for TelemetryMetricDelta
impl Debug for TelemetryMetricDelta
Source§impl<'de> Deserialize<'de> for TelemetryMetricDelta
impl<'de> Deserialize<'de> for TelemetryMetricDelta
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
Auto Trait Implementations§
impl Freeze for TelemetryMetricDelta
impl RefUnwindSafe for TelemetryMetricDelta
impl Send for TelemetryMetricDelta
impl Sync for TelemetryMetricDelta
impl Unpin for TelemetryMetricDelta
impl UnsafeUnpin for TelemetryMetricDelta
impl UnwindSafe for TelemetryMetricDelta
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