Enum prometheus_scrape::LineInfo
source · pub enum LineInfo<'a> {
Doc {
metric_name: &'a str,
doc: &'a str,
},
Type {
metric_name: String,
sample_type: SampleType,
},
Sample {
metric_name: &'a str,
labels: Option<&'a str>,
value: &'a str,
timestamp: Option<&'a str>,
},
Empty,
Ignored,
}
Variants
Implementations
Trait Implementations
sourceimpl<'a> PartialEq<LineInfo<'a>> for LineInfo<'a>
impl<'a> PartialEq<LineInfo<'a>> for LineInfo<'a>
impl<'a> Eq for LineInfo<'a>
impl<'a> StructuralEq for LineInfo<'a>
impl<'a> StructuralPartialEq for LineInfo<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for LineInfo<'a>
impl<'a> Send for LineInfo<'a>
impl<'a> Sync for LineInfo<'a>
impl<'a> Unpin for LineInfo<'a>
impl<'a> UnwindSafe for LineInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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