pub struct Label<'a> {
pub name: &'a str,
pub value: String,
}Expand description
A label for a metric
Fields§
§name: &'a str§value: StringImplementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Label<'a>
Auto Trait Implementations§
impl<'a> Freeze for Label<'a>
impl<'a> RefUnwindSafe for Label<'a>
impl<'a> Send for Label<'a>
impl<'a> Sync for Label<'a>
impl<'a> Unpin for Label<'a>
impl<'a> UnwindSafe for Label<'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