[][src]Struct appinsights::telemetry::Stats

pub struct Stats { /* fields omitted */ }

Stores statistics for aggregated metric.

Methods

impl Stats[src]

pub fn add_data(&mut self, values: &[f64])[src]

Adds data points to the aggregate totals included in this telemetry item. This can be used for all the data at once or incrementally. Calculates min, max, sum, count, and std_dev (by way of variance).

pub fn add_sampled_data(&mut self, values: &[f64])[src]

Adds sampled data points to the aggregate totals included in this telemetry item. This can be used for all the data at once or incrementally. Differs from add_data in how it calculates standard deviation, and should not be used interchangeably with add_data

Trait Implementations

impl Debug for Stats[src]

impl Default for Stats[src]

impl PartialEq<Stats> for Stats[src]

impl StructuralPartialEq for Stats[src]

Auto Trait Implementations

impl RefUnwindSafe for Stats

impl Send for Stats

impl Sync for Stats

impl Unpin for Stats

impl UnwindSafe for Stats

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,