pub struct Labels {
pub namespace: Arc<str>,
pub use_case: Arc<str>,
pub key_type: Arc<str>,
pub layer: Layer,
}Expand description
Labels shared by layer-scoped events. Logical keys are never labels.
Fields§
§namespace: Arc<str>The instance namespace (default urn); unrelated to any exporter’s
metric-name namespace.
use_case: Arc<str>The operation name; watermark on invalidation error events.
key_type: Arc<str>The entity type of the identity.
layer: LayerThe layer the event refers to, or Layer::Noop when none was reached.
Trait Implementations§
impl Eq for Labels
impl StructuralPartialEq for Labels
Auto Trait Implementations§
impl Freeze for Labels
impl RefUnwindSafe for Labels
impl Send for Labels
impl Sync for Labels
impl Unpin for Labels
impl UnsafeUnpin for Labels
impl UnwindSafe for Labels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.