pub struct Item<'a> {
    pub schema: &'a ItemSchema,
    pub value: &'a MetricValue,
    pub help: Option<&'a String>,
}Expand description
A metric item combining schema and value information.
Provides a unified view of a metric’s metadata and current value.
Fields§
§schema: &'a ItemSchemaReference to the metric’s schema information
value: &'a MetricValueReference to the metric’s current value
help: Option<&'a String>Help text, if available
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Item<'a>
impl<'a> RefUnwindSafe for Item<'a>
impl<'a> Send for Item<'a>
impl<'a> Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> UnwindSafe for Item<'a>
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