pub struct LabelValue(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for LabelValue
impl Clone for LabelValue
Source§fn clone(&self) -> LabelValue
fn clone(&self) -> LabelValue
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 moreSource§impl Debug for LabelValue
impl Debug for LabelValue
Source§impl Default for LabelValue
impl Default for LabelValue
Source§fn default() -> LabelValue
fn default() -> LabelValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelValue
impl<'de> Deserialize<'de> for LabelValue
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 Display for LabelValue
impl Display for LabelValue
impl Eq for LabelValue
Source§impl From<String> for LabelValue
impl From<String> for LabelValue
Source§impl Hash for LabelValue
impl Hash for LabelValue
Source§impl Ord for LabelValue
impl Ord for LabelValue
Source§fn cmp(&self, other: &LabelValue) -> Ordering
fn cmp(&self, other: &LabelValue) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LabelValue
impl PartialEq for LabelValue
Source§fn eq(&self, other: &LabelValue) -> bool
fn eq(&self, other: &LabelValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LabelValue
impl PartialOrd for LabelValue
Source§impl PrometheusSerializable for LabelValue
impl PrometheusSerializable for LabelValue
Source§fn to_prometheus(&self) -> String
fn to_prometheus(&self) -> String
Convert the implementing type into a Prometheus exposition format string. Read more
Source§impl Serialize for LabelValue
impl Serialize for LabelValue
impl StructuralPartialEq for LabelValue
Auto Trait Implementations§
impl Freeze for LabelValue
impl RefUnwindSafe for LabelValue
impl Send for LabelValue
impl Sync for LabelValue
impl Unpin for LabelValue
impl UnsafeUnpin for LabelValue
impl UnwindSafe for LabelValue
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