pub struct QueryMetricProperties {
pub name: Option<String>,
pub display_name: Option<String>,
pub unit: Option<Unit>,
pub value: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub avg: Option<f64>,
pub sum: Option<f64>,
pub stdev: Option<f64>,
}Expand description
Properties of a topquery metric in one interval.
Fields§
§name: Option<String>The name information for the metric.
display_name: Option<String>The UI appropriate name for the metric.
unit: Option<Unit>The unit of the metric.
value: Option<f64>The value of the metric.
min: Option<f64>Metric value when min() aggregate function is used over the interval.
max: Option<f64>Metric value when max() aggregate function is used over the interval.
avg: Option<f64>Metric value when avg() aggregate function is used over the interval.
sum: Option<f64>Metric value when sum() aggregate function is used over the interval.
stdev: Option<f64>Metric value when stdev aggregate function is used over the interval.
Implementations§
Trait Implementations§
Source§impl Clone for QueryMetricProperties
impl Clone for QueryMetricProperties
Source§fn clone(&self) -> QueryMetricProperties
fn clone(&self) -> QueryMetricProperties
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 QueryMetricProperties
impl Debug for QueryMetricProperties
Source§impl Default for QueryMetricProperties
impl Default for QueryMetricProperties
Source§fn default() -> QueryMetricProperties
fn default() -> QueryMetricProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryMetricProperties
impl<'de> Deserialize<'de> for QueryMetricProperties
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
Source§impl PartialEq for QueryMetricProperties
impl PartialEq for QueryMetricProperties
Source§impl Serialize for QueryMetricProperties
impl Serialize for QueryMetricProperties
impl StructuralPartialEq for QueryMetricProperties
Auto Trait Implementations§
impl Freeze for QueryMetricProperties
impl RefUnwindSafe for QueryMetricProperties
impl Send for QueryMetricProperties
impl Sync for QueryMetricProperties
impl Unpin for QueryMetricProperties
impl UnwindSafe for QueryMetricProperties
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