Struct openmetrics_parser::MetricsExposition
source · [−]pub struct MetricsExposition<TypeSet, ValueType> {
pub families: HashMap<String, MetricFamily<TypeSet, ValueType>>,
}
Expand description
Exposition is the top level object of the parser. It’s a collection of metric families, indexed by name
Fields
families: HashMap<String, MetricFamily<TypeSet, ValueType>>
Implementations
sourceimpl<TypeSet, ValueType> MetricsExposition<TypeSet, ValueType>
impl<TypeSet, ValueType> MetricsExposition<TypeSet, ValueType>
pub fn new() -> MetricsExposition<TypeSet, ValueType>
Trait Implementations
sourceimpl<TypeSet: Debug, ValueType: Debug> Debug for MetricsExposition<TypeSet, ValueType>
impl<TypeSet: Debug, ValueType: Debug> Debug for MetricsExposition<TypeSet, ValueType>
sourceimpl<TypeSet, ValueType> Default for MetricsExposition<TypeSet, ValueType>
impl<TypeSet, ValueType> Default for MetricsExposition<TypeSet, ValueType>
Auto Trait Implementations
impl<TypeSet, ValueType> RefUnwindSafe for MetricsExposition<TypeSet, ValueType> where
TypeSet: RefUnwindSafe,
ValueType: RefUnwindSafe,
impl<TypeSet, ValueType> Send for MetricsExposition<TypeSet, ValueType> where
TypeSet: Send,
ValueType: Send,
impl<TypeSet, ValueType> Sync for MetricsExposition<TypeSet, ValueType> where
TypeSet: Sync,
ValueType: Sync,
impl<TypeSet, ValueType> Unpin for MetricsExposition<TypeSet, ValueType> where
TypeSet: Unpin,
ValueType: Unpin,
impl<TypeSet, ValueType> UnwindSafe for MetricsExposition<TypeSet, ValueType> where
TypeSet: UnwindSafe,
ValueType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more