pub struct MapperProfile {
pub name: String,
pub prefix: String,
pub mappings: Vec<MetricMapping>,
}Expand description
One mapper profile: a name, a metric prefix, and the mappings under it.
Fields§
§name: StringProfile name, for diagnostics.
prefix: StringMetric-name prefix the profile’s mappings apply to.
mappings: Vec<MetricMapping>The name/tag mappings under this profile.
Trait Implementations§
Source§impl Clone for MapperProfile
impl Clone for MapperProfile
Source§fn clone(&self) -> MapperProfile
fn clone(&self) -> MapperProfile
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 moreSource§impl Debug for MapperProfile
impl Debug for MapperProfile
Source§impl Default for MapperProfile
impl Default for MapperProfile
Source§fn default() -> MapperProfile
fn default() -> MapperProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapperProfile
impl PartialEq for MapperProfile
Source§impl Serialize for MapperProfile
impl Serialize for MapperProfile
impl StructuralPartialEq for MapperProfile
Auto Trait Implementations§
impl Freeze for MapperProfile
impl RefUnwindSafe for MapperProfile
impl Send for MapperProfile
impl Sync for MapperProfile
impl Unpin for MapperProfile
impl UnwindSafe for MapperProfile
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