pub struct ServiceMetric {
pub name: String,
pub value: MetricValue,
}Expand description
A metric collected from a specific service.
Fields§
§name: String§value: MetricValueTrait Implementations§
Source§impl Clone for ServiceMetric
impl Clone for ServiceMetric
Source§fn clone(&self) -> ServiceMetric
fn clone(&self) -> ServiceMetric
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 moreAuto Trait Implementations§
impl Freeze for ServiceMetric
impl RefUnwindSafe for ServiceMetric
impl Send for ServiceMetric
impl Sync for ServiceMetric
impl Unpin for ServiceMetric
impl UnsafeUnpin for ServiceMetric
impl UnwindSafe for ServiceMetric
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