Enum prometheus_manager::Entry
source · [−]pub enum Entry<'a> {
Doc {
metric_name: &'a str,
doc: &'a str,
},
Type {
metric_name: String,
sample_type: MetricKind,
},
Metric {
metric_name: &'a str,
labels: Option<&'a str>,
value: &'a str,
timestamp: Option<&'a str>,
},
Empty,
Ignored,
}
Variants
Doc
Type
Metric
Empty
Ignored
Implementations
Trait Implementations
sourceimpl<'a> PartialEq<Entry<'a>> for Entry<'a>
impl<'a> PartialEq<Entry<'a>> for Entry<'a>
impl<'a> Eq for Entry<'a>
impl<'a> StructuralEq for Entry<'a>
impl<'a> StructuralPartialEq for Entry<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> Send for Entry<'a>
impl<'a> Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'a>
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