pub struct MetricKey {
pub name: String,
pub labels: Labels,
}
Expand description
Unique key for a metric: name + labels
Fields§
§name: String
§labels: Labels
Implementations§
Trait Implementations§
impl Eq for MetricKey
impl StructuralPartialEq for MetricKey
Auto Trait Implementations§
impl Freeze for MetricKey
impl RefUnwindSafe for MetricKey
impl Send for MetricKey
impl Sync for MetricKey
impl Unpin for MetricKey
impl UnwindSafe for MetricKey
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