pub enum PrimaryMeasure {
Duration,
Volume,
Events,
}Expand description
The quantity that principally measures a service.
Variants§
Duration
Measured by elapsed chargeable time.
Volume
Measured by transferred octets.
Events
Measured by a count of discrete events.
Trait Implementations§
Source§impl Clone for PrimaryMeasure
impl Clone for PrimaryMeasure
impl Copy for PrimaryMeasure
Source§impl Debug for PrimaryMeasure
impl Debug for PrimaryMeasure
impl Eq for PrimaryMeasure
Source§impl Hash for PrimaryMeasure
impl Hash for PrimaryMeasure
Source§impl Ord for PrimaryMeasure
impl Ord for PrimaryMeasure
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PrimaryMeasure
impl PartialEq for PrimaryMeasure
Source§impl PartialOrd for PrimaryMeasure
impl PartialOrd for PrimaryMeasure
impl StructuralPartialEq for PrimaryMeasure
Auto Trait Implementations§
impl Forget for PrimaryMeasure
impl Freeze for PrimaryMeasure
impl Move for PrimaryMeasure
impl RefUnwindSafe for PrimaryMeasure
impl Send for PrimaryMeasure
impl Sync for PrimaryMeasure
impl Unpin for PrimaryMeasure
impl UnsafeUnpin for PrimaryMeasure
impl UnwindSafe for PrimaryMeasure
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