Struct MetricName
pub struct MetricName(/* private fields */);Expand description
A metric name.
Implementations§
§impl MetricName
impl MetricName
Trait Implementations§
§impl AsRef<str> for MetricName
impl AsRef<str> for MetricName
§impl Clone for MetricName
impl Clone for MetricName
§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 more§impl Debug for MetricName
impl Debug for MetricName
§impl Default for MetricName
impl Default for MetricName
§fn default() -> MetricName
fn default() -> MetricName
Returns the “default value” for a type. Read more
§impl Display for MetricName
impl Display for MetricName
§impl From<&str> for MetricName
impl From<&str> for MetricName
§fn from(value: &str) -> MetricName
fn from(value: &str) -> MetricName
Converts to this type from the input type.
§impl From<String> for MetricName
impl From<String> for MetricName
§fn from(value: String) -> MetricName
fn from(value: String) -> MetricName
Converts to this type from the input type.
§impl Hash for MetricName
impl Hash for MetricName
§impl Ord for MetricName
impl Ord for MetricName
§impl PartialEq for MetricName
impl PartialEq for MetricName
§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