pd::metrics

Trait IntoLabels

pub trait IntoLabels {
    // Required method
    fn into_labels(self) -> Vec<Label>;
}
Expand description

A value that can be converted to a vector of Labels.

Required Methods§

fn into_labels(self) -> Vec<Label>

Consumes this value, turning it into a vector of Labels.

Implementations on Foreign Types§

§

impl IntoLabels for Vec<Label>

§

fn into_labels(self) -> Vec<Label>

§

impl IntoLabels for Iter<'_, Label>

§

fn into_labels(self) -> Vec<Label>

§

impl<T, L> IntoLabels for &T
where &T: IntoIterator<Item = L>, L: Into<Label>, T: ?Sized,

§

fn into_labels(self) -> Vec<Label>

Implementors§