pub struct ExtraMetricLabels(pub Vec<Label>);Expand description
An http extension to add extra metric labels.
Setting this extension for Request or Response to add additional labels to the relavent
metrics.
Tuple Fields§
§0: Vec<Label>Trait Implementations§
Source§impl Clone for ExtraMetricLabels
impl Clone for ExtraMetricLabels
Source§fn clone(&self) -> ExtraMetricLabels
fn clone(&self) -> ExtraMetricLabels
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 ExtraMetricLabels
impl RefUnwindSafe for ExtraMetricLabels
impl Send for ExtraMetricLabels
impl Sync for ExtraMetricLabels
impl Unpin for ExtraMetricLabels
impl UnwindSafe for ExtraMetricLabels
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