pub struct ComponentLabels {
pub pipeline: Cow<'static, str>,
pub component: Cow<'static, str>,
pub component_type: Cow<'static, str>,
}Expand description
The standard label set attached to every framework metric.
Fields§
§pipeline: Cow<'static, str>Pipeline name.
component: Cow<'static, str>Component instance id from config/builder (e.g. orders_kafka).
component_type: Cow<'static, str>Component implementation (e.g. kafka, clickhouse, map).
Implementations§
Trait Implementations§
Source§impl Clone for ComponentLabels
impl Clone for ComponentLabels
Source§fn clone(&self) -> ComponentLabels
fn clone(&self) -> ComponentLabels
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComponentLabels
impl RefUnwindSafe for ComponentLabels
impl Send for ComponentLabels
impl Sync for ComponentLabels
impl Unpin for ComponentLabels
impl UnsafeUnpin for ComponentLabels
impl UnwindSafe for ComponentLabels
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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