pub struct Metadata(/* private fields */);
Expand description
Metadata for a metric.
Metrics can have arbitrary key-value pairs stored as metadata. This allows for labelling them with whatever metadata you may find relevant.
Implementations§
Trait Implementations§
source§impl<'a> IntoIterator for &'a Metadata
impl<'a> IntoIterator for &'a Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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