pub struct MetricMetadata { /* private fields */ }Expand description
A metric metadata object.
Implementations§
Source§impl MetricMetadata
impl MetricMetadata
Sourcepub fn metric_type(&self) -> MetricType
pub fn metric_type(&self) -> MetricType
Get the metric type.
Trait Implementations§
Source§impl Clone for MetricMetadata
impl Clone for MetricMetadata
Source§impl Debug for MetricMetadata
impl Debug for MetricMetadata
Source§impl<'de> Deserialize<'de> for MetricMetadata
impl<'de> Deserialize<'de> for MetricMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for MetricMetadata
impl Freeze for MetricMetadata
impl Move for MetricMetadata
impl RefUnwindSafe for MetricMetadata
impl Send for MetricMetadatawhere
RawVecInner: Send,
impl Sync for MetricMetadatawhere
RawVecInner: Sync,
impl Unpin for MetricMetadata
impl UnsafeUnpin for MetricMetadata
impl UnwindSafe for MetricMetadatawhere
RawVecInner: UnwindSafe,
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