pub struct ProgressMetric { /* private fields */ }Expand description
Describes one metric dimension reported by a progress operation.
The id is stable and machine-readable. It is stored in
ProgressCounter values and therefore appears in
JSON progress events. The name is human-readable and is intended for text
reporters.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressMetric
impl Clone for ProgressMetric
Source§fn clone(&self) -> ProgressMetric
fn clone(&self) -> ProgressMetric
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 ProgressMetric
impl Debug for ProgressMetric
Source§impl<'de> Deserialize<'de> for ProgressMetric
impl<'de> Deserialize<'de> for ProgressMetric
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 Hash for ProgressMetric
impl Hash for ProgressMetric
Source§impl PartialEq for ProgressMetric
impl PartialEq for ProgressMetric
Source§fn eq(&self, other: &ProgressMetric) -> bool
fn eq(&self, other: &ProgressMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProgressMetric
impl Serialize for ProgressMetric
impl Eq for ProgressMetric
impl StructuralPartialEq for ProgressMetric
Auto Trait Implementations§
impl Freeze for ProgressMetric
impl RefUnwindSafe for ProgressMetric
impl Send for ProgressMetric
impl Sync for ProgressMetric
impl Unpin for ProgressMetric
impl UnsafeUnpin for ProgressMetric
impl UnwindSafe for ProgressMetric
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