pub struct MetricMeta {
pub name: String,
pub help: String,
pub kind: MetricKind,
}Expand description
Metric metadata
Fields§
§name: StringMetric name (e.g. sz_orm_pool_acquires_total)
help: StringHelp text
kind: MetricKindMetric type
Trait Implementations§
Source§impl Clone for MetricMeta
impl Clone for MetricMeta
Source§fn clone(&self) -> MetricMeta
fn clone(&self) -> MetricMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetricMeta
impl RefUnwindSafe for MetricMeta
impl Send for MetricMeta
impl Sync for MetricMeta
impl Unpin for MetricMeta
impl UnsafeUnpin for MetricMeta
impl UnwindSafe for MetricMeta
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