pub struct MetricName(/* private fields */);Expand description
Validated operations metric label used for KPI/read-model dimensions.
Metric names label source-derived facts such as labor-to-revenue risk, occupancy, utilization, or conversion measures without treating free text as authoritative workflow state.
Implementations§
Source§impl MetricName
impl MetricName
Source§impl MetricName
impl MetricName
pub fn into_inner(self) -> String
Trait Implementations§
Source§impl Clone for MetricName
impl Clone for MetricName
Source§fn clone(&self) -> MetricName
fn clone(&self) -> MetricName
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 MetricName
impl Debug for MetricName
Source§impl<'de> Deserialize<'de> for MetricName
impl<'de> Deserialize<'de> for MetricName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MetricName
impl Hash for MetricName
Source§impl Ord for MetricName
impl Ord for MetricName
Source§fn cmp(&self, other: &MetricName) -> Ordering
fn cmp(&self, other: &MetricName) -> Ordering
1.21.0 · 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 MetricName
impl PartialEq for MetricName
Source§impl PartialOrd for MetricName
impl PartialOrd for MetricName
Source§impl Serialize for MetricName
impl Serialize for MetricName
impl Eq for MetricName
impl StructuralPartialEq for MetricName
Auto Trait Implementations§
impl Freeze for MetricName
impl RefUnwindSafe for MetricName
impl Send for MetricName
impl Sync for MetricName
impl Unpin for MetricName
impl UnsafeUnpin for MetricName
impl UnwindSafe for MetricName
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