pub struct MetricName(/* private fields */);Expand description
A Prometheus metric or sample name.
Implementations§
Trait Implementations§
Source§impl Clone for MetricName
impl Clone for MetricName
Source§impl Debug for MetricName
impl Debug for MetricName
Source§impl Display for MetricName
impl Display for MetricName
impl Eq for MetricName
Source§impl Ord for MetricName
impl Ord for MetricName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MetricName
impl PartialEq for MetricName
Source§impl PartialOrd for MetricName
impl PartialOrd for MetricName
impl StructuralPartialEq for MetricName
Auto Trait Implementations§
impl Freeze for MetricName
impl RefUnwindSafe for MetricName
impl Send for MetricName
impl Sync for MetricName
impl Unpin for MetricName
impl UnsafeUnpin for MetricName
impl UnwindSafe for MetricName
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