pub struct MetricAttribute {
pub key: &'static str,
pub value: String,
}Expand description
One bounded attribute attached to an algorithm-defined metric.
Fields§
§key: &'static strStable, low-cardinality attribute name.
value: StringStable, low-cardinality attribute value.
Implementations§
Trait Implementations§
Source§impl Clone for MetricAttribute
impl Clone for MetricAttribute
Source§fn clone(&self) -> MetricAttribute
fn clone(&self) -> MetricAttribute
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 MetricAttribute
impl Debug for MetricAttribute
Source§impl PartialEq for MetricAttribute
impl PartialEq for MetricAttribute
impl Eq for MetricAttribute
impl StructuralPartialEq for MetricAttribute
Auto Trait Implementations§
impl Freeze for MetricAttribute
impl RefUnwindSafe for MetricAttribute
impl Send for MetricAttribute
impl Sync for MetricAttribute
impl Unpin for MetricAttribute
impl UnsafeUnpin for MetricAttribute
impl UnwindSafe for MetricAttribute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.