pub enum MetricSetUpdate<'a> {
Many(Vec<Metric>),
Single(Metric),
ManyUpdate(Vec<(&'static str, MetricUpdate<'a>)>),
NamedSingle(&'static str, MetricUpdate<'a>, Option<TagType>),
}Variants§
Many(Vec<Metric>)
Single(Metric)
ManyUpdate(Vec<(&'static str, MetricUpdate<'a>)>)
NamedSingle(&'static str, MetricUpdate<'a>, Option<TagType>)
Trait Implementations§
Source§impl<'a, U> From<(&'static str, U)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
impl<'a, U> From<(&'static str, U)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
Source§impl<'a, U> From<(&'static str, U, usize)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
impl<'a, U> From<(&'static str, U, usize)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
Source§impl<'a, U> From<(TagType, &'static str, U)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
impl<'a, U> From<(TagType, &'static str, U)> for MetricSetUpdate<'a>where
U: Into<MetricUpdate<'a>>,
Source§impl From<Metric> for MetricSetUpdate<'_>
impl From<Metric> for MetricSetUpdate<'_>
Auto Trait Implementations§
impl<'a> Freeze for MetricSetUpdate<'a>
impl<'a> RefUnwindSafe for MetricSetUpdate<'a>
impl<'a> Send for MetricSetUpdate<'a>
impl<'a> Sync for MetricSetUpdate<'a>
impl<'a> Unpin for MetricSetUpdate<'a>
impl<'a> UnsafeUnpin for MetricSetUpdate<'a>
impl<'a> UnwindSafe for MetricSetUpdate<'a>
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