pub struct MetricsRow {
pub dimensions: Vec<String>,
pub metrics: Vec<String>,
}Expand description
Metrics row.
Fields§
§dimensions: Vec<String>The values of the properties mentioned as ‘Dimensions’ in column header. E.g. 1: For a property ‘LastJobStatus’ - metrics will be provided for ‘passed’, ‘failed’, etc. E.g. 2: For a property ‘TargetState’ - metrics will be provided for ‘online’, ‘offline’ targets.
metrics: Vec<String>Metrics in serialized format. Should be deserialized based on the data type provided in header.
Implementations§
Source§impl MetricsRow
impl MetricsRow
Trait Implementations§
Source§impl Clone for MetricsRow
impl Clone for MetricsRow
Source§fn clone(&self) -> MetricsRow
fn clone(&self) -> MetricsRow
Returns a copy 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 MetricsRow
impl Debug for MetricsRow
Source§impl Default for MetricsRow
impl Default for MetricsRow
Source§fn default() -> MetricsRow
fn default() -> MetricsRow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricsRow
impl<'de> Deserialize<'de> for MetricsRow
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 MetricsRow
impl PartialEq for MetricsRow
Source§impl Serialize for MetricsRow
impl Serialize for MetricsRow
impl StructuralPartialEq for MetricsRow
Auto Trait Implementations§
impl Freeze for MetricsRow
impl RefUnwindSafe for MetricsRow
impl Send for MetricsRow
impl Sync for MetricsRow
impl Unpin for MetricsRow
impl UnwindSafe for MetricsRow
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