pub struct MetricLabel {
pub key: &'static str,
pub value: String,
}
Fields§
§key: &'static str
§value: String
Implementations§
Trait Implementations§
Source§impl Clone for MetricLabel
impl Clone for MetricLabel
Source§fn clone(&self) -> MetricLabel
fn clone(&self) -> MetricLabel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetricLabel
impl Debug for MetricLabel
Source§impl Default for MetricLabel
impl Default for MetricLabel
Source§fn default() -> MetricLabel
fn default() -> MetricLabel
Returns the “default value” for a type. Read more
Source§impl Hash for MetricLabel
impl Hash for MetricLabel
Source§impl PartialEq for MetricLabel
impl PartialEq for MetricLabel
impl Eq for MetricLabel
impl StructuralPartialEq for MetricLabel
Auto Trait Implementations§
impl Freeze for MetricLabel
impl RefUnwindSafe for MetricLabel
impl Send for MetricLabel
impl Sync for MetricLabel
impl Unpin for MetricLabel
impl UnwindSafe for MetricLabel
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