Struct collectd_plugin::ValueReport
[−]
[src]
pub struct ValueReport<'a> {
pub name: &'a str,
pub value: Value,
pub min: f64,
pub max: f64,
}Name and value of a reported metric
Fields
name: &'a str
Name of the metric. If values has a length of 1, this is often just "value"
value: Value
The value reported
min: f64
Minimum value seen in an interval
max: f64
Maximum value seen in an interval
Trait Implementations
impl<'a> Debug for ValueReport<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for ValueReport<'a>[src]
fn eq(&self, __arg_0: &ValueReport<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ValueReport<'a>) -> bool[src]
This method tests for !=.
impl<'a> Clone for ValueReport<'a>[src]
fn clone(&self) -> ValueReport<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more