pub struct MetricName(/* private fields */);Expand description
A metric name.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for MetricName
impl AsRef<str> for MetricName
Source§impl Clone for MetricName
impl Clone for MetricName
Source§fn clone(&self) -> MetricName
fn clone(&self) -> MetricName
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 MetricName
impl Debug for MetricName
Source§impl Default for MetricName
impl Default for MetricName
Source§fn default() -> MetricName
fn default() -> MetricName
Returns the “default value” for a type. Read more
Source§impl Display for MetricName
impl Display for MetricName
Source§impl From<&str> for MetricName
impl From<&str> for MetricName
Source§impl From<String> for MetricName
impl From<String> for MetricName
Source§impl Hash for MetricName
impl Hash for MetricName
Source§impl Ord for MetricName
impl Ord for MetricName
Source§fn cmp(&self, other: &MetricName) -> Ordering
fn cmp(&self, other: &MetricName) -> Ordering
1.21.0 · 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
Source§impl PartialEq for MetricName
impl PartialEq for MetricName
Source§impl PartialOrd for MetricName
impl PartialOrd for MetricName
impl Eq 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