pub struct MetricsSource {
pub module: Option<String>,
pub component: Option<String>,
pub operation: Option<String>,
}Expand description
Source of the metric
Fields§
§module: Option<String>§component: Option<String>§operation: Option<String>Trait Implementations§
Source§impl Clone for MetricsSource
impl Clone for MetricsSource
Source§fn clone(&self) -> MetricsSource
fn clone(&self) -> MetricsSource
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 moreAuto Trait Implementations§
impl Freeze for MetricsSource
impl RefUnwindSafe for MetricsSource
impl Send for MetricsSource
impl Sync for MetricsSource
impl Unpin for MetricsSource
impl UnsafeUnpin for MetricsSource
impl UnwindSafe for MetricsSource
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