struct MetricDescriptor {
name: &'static str,
help: &'static str,
kind: MetricKind,
}Fields§
§name: &'static str§help: &'static str§kind: MetricKindTrait Implementations§
Source§impl Clone for MetricDescriptor
impl Clone for MetricDescriptor
Source§fn clone(&self) -> MetricDescriptor
fn clone(&self) -> MetricDescriptor
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 moreimpl Copy for MetricDescriptor
Auto Trait Implementations§
impl Freeze for MetricDescriptor
impl RefUnwindSafe for MetricDescriptor
impl Send for MetricDescriptor
impl Sync for MetricDescriptor
impl Unpin for MetricDescriptor
impl UnsafeUnpin for MetricDescriptor
impl UnwindSafe for MetricDescriptor
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