pub enum MetricFamilyType {
Counter,
Gauge,
String,
}Expand description
An enum representing various metric family types
Variants§
Counter
A counter metric family type which is a monotonically increasing value
Gauge
A gauge metric family type which is a value that can go up and down
String
A string metric family type
Trait Implementations§
Source§impl Clone for MetricFamilyType
impl Clone for MetricFamilyType
Source§fn clone(&self) -> MetricFamilyType
fn clone(&self) -> MetricFamilyType
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 MetricFamilyType
impl Debug for MetricFamilyType
Source§impl<'de> Deserialize<'de> for MetricFamilyType
impl<'de> Deserialize<'de> for MetricFamilyType
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
Source§impl PartialEq for MetricFamilyType
impl PartialEq for MetricFamilyType
Source§impl Serialize for MetricFamilyType
impl Serialize for MetricFamilyType
impl StructuralPartialEq for MetricFamilyType
Auto Trait Implementations§
impl Freeze for MetricFamilyType
impl RefUnwindSafe for MetricFamilyType
impl Send for MetricFamilyType
impl Sync for MetricFamilyType
impl Unpin for MetricFamilyType
impl UnwindSafe for MetricFamilyType
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