pub struct MetricMeta {
pub name: String,
pub help: String,
pub kind: MetricKind,
}Expand description
指标元数据
Fields§
§name: String指标名(如 sz_orm_pool_acquires_total)
help: String帮助文本
kind: MetricKind指标类型
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