pub struct GroupedMetrics {
pub by_group: HashMap<String, HashMap<String, Vec<(f64, Labels)>>>,
pub ungrouped: HashMap<String, Vec<(f64, Labels)>>,
}
Fields§
§by_group: HashMap<String, HashMap<String, Vec<(f64, Labels)>>>
“group” label => metrics with that “group” label, further grouped by metric name
ungrouped: HashMap<String, Vec<(f64, Labels)>>
Implementations§
Trait Implementations§
Source§impl Clone for GroupedMetrics
impl Clone for GroupedMetrics
Source§fn clone(&self) -> GroupedMetrics
fn clone(&self) -> GroupedMetrics
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 GroupedMetrics
impl Debug for GroupedMetrics
Source§impl Default for GroupedMetrics
impl Default for GroupedMetrics
Source§fn default() -> GroupedMetrics
fn default() -> GroupedMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GroupedMetrics
impl RefUnwindSafe for GroupedMetrics
impl Send for GroupedMetrics
impl Sync for GroupedMetrics
impl Unpin for GroupedMetrics
impl UnwindSafe for GroupedMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more