pub struct MetricMeta {
pub key: String,
pub desc: Option<String>,
pub unit: Option<String>,
/* private fields */
}
Fields§
§key: String
§desc: Option<String>
§unit: Option<String>
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 · 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 MetricMeta
impl Debug for MetricMeta
Auto Trait Implementations§
impl Freeze for MetricMeta
impl RefUnwindSafe for MetricMeta
impl Send for MetricMeta
impl Sync for MetricMeta
impl Unpin 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