pub struct NamedMetric {
pub name: String,
pub metric: Metric,
}Expand description
Named aggregate calculation.
Fields§
§name: StringUnique nonempty result name.
metric: MetricCalculation.
Trait Implementations§
Source§impl Clone for NamedMetric
impl Clone for NamedMetric
Source§fn clone(&self) -> NamedMetric
fn clone(&self) -> NamedMetric
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 NamedMetric
impl Debug for NamedMetric
impl Eq for NamedMetric
Source§impl PartialEq for NamedMetric
impl PartialEq for NamedMetric
impl StructuralPartialEq for NamedMetric
Auto Trait Implementations§
impl Freeze for NamedMetric
impl RefUnwindSafe for NamedMetric
impl Send for NamedMetric
impl Sync for NamedMetric
impl Unpin for NamedMetric
impl UnsafeUnpin for NamedMetric
impl UnwindSafe for NamedMetric
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