pub struct Label(/* private fields */);
Expand description
A key/value pair used to further describe a metric.
Implementations§
Source§impl Label
impl Label
Sourcepub fn into_parts(self) -> (ScopedString, ScopedString)
pub fn into_parts(self) -> (ScopedString, ScopedString)
Consumes this Label
, returning the key and value.
Trait Implementations§
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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