Trait metrics::IntoLabels
source · pub trait IntoLabels {
// Required method
fn into_labels(self) -> Vec<Label>;
}
Expand description
A value that can be converted to a vector of Label
s.
Required Methods§
sourcefn into_labels(self) -> Vec<Label>
fn into_labels(self) -> Vec<Label>
Consumes this value, turning it into a vector of Label
s.