pub struct BuildInfoLabels {
pub component: &'static str,
pub version: &'static str,
pub backend: String,
pub scheme: String,
}Expand description
Process constants carried by mx_build_info.
Every field is fixed for the lifetime of the process, so this family has exactly one series per pod.
Fields§
§component: &'static strWhich half of ModelExpress is reporting: server here, client from the
Python collector. Component identity is carried by this label rather than
by a family-name suffix, so family names stay globally unique.
version: &'static strCrate version, from CARGO_PKG_VERSION at compile time.
backend: StringMetadata backend in use: redis, kubernetes, or memory.
scheme: StringBenchmark run label from MX_METRICS_SCHEME; empty when unset.
Trait Implementations§
Source§impl Clone for BuildInfoLabels
impl Clone for BuildInfoLabels
Source§impl Debug for BuildInfoLabels
impl Debug for BuildInfoLabels
Source§impl EncodeLabelSet for BuildInfoLabels
impl EncodeLabelSet for BuildInfoLabels
impl Eq for BuildInfoLabels
Source§impl Hash for BuildInfoLabels
impl Hash for BuildInfoLabels
Source§impl PartialEq for BuildInfoLabels
impl PartialEq for BuildInfoLabels
impl StructuralPartialEq for BuildInfoLabels
Auto Trait Implementations§
impl Forget for BuildInfoLabels
impl Freeze for BuildInfoLabels
impl Move for BuildInfoLabels
impl RefUnwindSafe for BuildInfoLabels
impl Send for BuildInfoLabels
impl Sync for BuildInfoLabels
impl Unpin for BuildInfoLabels
impl UnsafeUnpin for BuildInfoLabels
impl UnwindSafe for BuildInfoLabels
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request